gdviewer and mfc

Discussions about document viewing.
Post Reply
CaptCurry
Posts: 3
Joined: Wed Oct 17, 2012 7:08 pm

gdviewer and mfc

Post by CaptCurry » Mon Mar 13, 2017 5:30 pm

I have been using GdPictureImaging for quite a while with Windows Forms and it works very well. I now need to use it in a multi-pane mfc application.
I just cannot get the GdViewer to display in the pane.

Does anyone know the syntax for getting the GdViewer to show in an mfc pane.

Thanks.

Gabriela
Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: gdviewer and mfc

Post by Gabriela » Sun Feb 03, 2019 7:55 pm

Hello,

Here is the small guide that you can also find within the installation package under \\Samples folder:
- Select the "Add Class" item of the "Project" menu.
- Select MFC Class From TypeLib.
- Select "Add class from File" and click the "..." button to navigate to select GdPicture.NET.14.tlb file located in [INSTALLDIR]/Redist/COM Interop.
- Select the interfaces you need from the list to generate the C++ wrappers*.
* Be careful, each GdPicture class will be split into two classes: One defining events and another one defining properties & methods.
For example to import the GdPictureImaging class you should select "__GdPictureImaging" and "_GdPictureImaging".

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest