PDF viewer in MDI window possible?

PDF-XChange Viewer SDK
Simple DLL and ActiveX

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Post Reply
Parps
User
Posts: 70
Joined: Mon Sep 28, 2009 10:06 am

PDF viewer in MDI window possible?

Post by Parps » Fri Oct 05, 2012 5:26 pm

Hi Craig,

I am about to create a PDF viewer with the ActiveX classes. It must be in a MDI window so that other procedures can be opened in the same application frame? However all the examples are non-MDI.

Before I run in all kind of problems, is it possible to have a PDF viewer in a non-MDI window? If so, do I need to do some precautions or other effects to reckon with? For instance do I need to use a region control or a OLE control?

Best regards,
Koen

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: PDF viewer in MDI window possible?

Post by Tracker - Clarion Support » Fri Oct 05, 2012 5:32 pm

Hi!

MDI shouldn't be a problem, but preferred is to use OLE control (without template) instead of Region control.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Parps
User
Posts: 70
Joined: Mon Sep 28, 2009 10:06 am

Re: PDF viewer in MDI window possible?

Post by Parps » Fri Oct 05, 2012 5:35 pm

Hi Craig,

Wooh, that is a quick response. Thanks :D

Cheers,
Koen

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: PDF viewer in MDI window possible?

Post by Tracker - Clarion Support » Fri Oct 05, 2012 5:44 pm

:)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Tony York
User
Posts: 43
Joined: Thu Apr 17, 2008 6:33 am

Re: PDF viewer in MDI window possible?

Post by Tony York » Wed Nov 14, 2012 2:43 pm

Tracker - Clarion Support wrote:Hi!

MDI shouldn't be a problem, but preferred is to use OLE control (without template) instead of Region control.
Hi Craig,

What are the disadvantages of using a Region Control over an OLE. I have a situation where I use Codejock docking panes, but the OLE control ignores its position and sits at the top left point. The Region control does behave itself and sits where I put it.

Thanks

Tony

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: PDF viewer in MDI window possible?

Post by Tracker - Clarion Support » Wed Nov 14, 2012 6:17 pm

Hi Tony!

The binding between REGION controls and their associated OLE controls is very weak, so if you think you're having problems with OLE controls' positions, it won't help much to use REGION.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply