-
October 8th, 2005, 05:52 PM
#1
Display Bitmap in MFC
Hello.
I have a BITMAPINFO structure holding a bitmap I would like to write to my app window. I have tried using SetDIBitsToDevice() but the program crashes when I use this function. I appreciate any help someone is willing to give. Thank you.
-
October 9th, 2005, 08:36 AM
#2
Re: Display Bitmap in MFC
Could you post some code because without code we can't help you.
Please use code tags [code] [/code]
We would change the world, but God won't give us the sourcecode..
Undocumented futures are fun and useful....
_________
Gili
-
October 9th, 2005, 03:49 PM
#3
Re: Display Bitmap in MFC
Originally Posted by dremmuel
Hello.
I have a BITMAPINFO structure holding a bitmap I would like to write to my app window. I have tried using SetDIBitsToDevice() but the program crashes when I use this function. I appreciate any help someone is willing to give. Thank you.
look at those threads it have samples of how to use ::SetDIBitsToDevice()
hope it helps
Cheers
Last edited by golanshahar; October 9th, 2005 at 03:53 PM.
-
October 10th, 2005, 12:52 PM
#4
Re: Display Bitmap in MFC
Thank you Golanshahar, those threads gave me enough information to figure out what I needed to do. My app is now one big step closer to where it needs to be!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|