Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

BitBlt to GDviewer

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

BitBlt to GDviewer

Postby Nanni on Thu Oct 09, 2008 12:35 pm

Hi to all

I need to make some BitBlt operation to GDviewer.
How to set native image after a BitBlt operation in GDviewer?

Thanks for Help
Nanni
Nanni
 
Posts: 11
Joined: Thu Sep 25, 2008 7:26 pm

Re: BitBlt to GDviewer

Postby Loïc on Fri Oct 10, 2008 12:51 pm

Hi,

If I understand, you want to create an image from the displayed area of the GdViewer control ?


Code: Select all
nImageID = Imaging1.CreateImageFromHwnd(GdViewer1.hWnd)


Best regards,

Loïc
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: BitBlt to GDviewer

Postby Nanni on Fri Oct 10, 2008 3:58 pm

Hi and thanks for reply.

Using nImageID = Imaging1.CreateImageFromHwnd(GdViewer1.hWnd)
I get only the displayed area.
I need to get full image instead.

Thanks for Help
Nanni
Nanni
 
Posts: 11
Joined: Thu Sep 25, 2008 7:26 pm

Re: BitBlt to GDviewer

Postby Loïc on Fri Oct 10, 2008 4:11 pm

Hi,

You can't.

A Workaround consists to BitBlt the image itself.

You can retrieve a hdc from an image using the GetGdPictureImageDC() method:

http://www.guides.gdpicture.com/v5/gdtw ... ageDC.html

Best regards,

Loïc
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 0 guests

cron