[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 245
  • Last Modified:

Displaying a DIB graphic

Hi,

I am developing an application to control a TWAIN compatible scanner. I have implemented the control routine and now I need help displaying the scanned graphic in the Main Window. The scanner returns a DIB file that has a HGLOBAL handle.

Any help would be greatly appreciated.
Thanks,
J.P.Bourne
0
jpbourne
Asked:
jpbourne
1 Solution
 
plarocheCommented:
Check out the DIBLOOK sample, you will find a useful class in there to manipulate the dib from and to bitmaps. The code is also very useful when comes time to print the bitmaps and/or dibs.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now