Remember that LoadBitmap won't work with 8-bit bitmaps. In will convert
them to 4-bit bitmaps when you load them. What you need to do is use
FindResource/LoadResource/LockResource to get it into memory.
Also, you can still decleare it as a BITMAP in your resource file. If
you do, the resource compiler will strip off the file header info for
you. If you use a custom resource type, you'll have to strip it off
yourself.
--
Eddie McCreary e...@twisto.compaq.com
Graphics Development "Do or do not, there is no 'try'."
In the event of my capture, Compaq will disavow any and all knowledge
of my operations. Of course I don't speak for them.
EM>Also, you can still decleare it as a BITMAP in your resource file. If
EM>you do, the resource compiler will strip off the file header info for
EM>you. If you use a custom resource type, you'll have to strip it off
EM>yourself.
Thanks for the info! I never knew any of this. I don't recall Petzold
ever mentioning that. Any suggestions for another good book on
Windows? This will help me out a lot. Thanks again!
---
ž SLMR 2.1a ž I don't believe in miracles, I rely on them.
I've really gotten a log out of "Windows 3.1:A Developer's Guide" by
Jeffery Richter. He doesn't go much into graphics. Me mostly covers
dialog box techiques, custom controls, etc.