Advertisement

GDI

Started by November 12, 2000 05:18 PM
2 comments, last by Lake 24 years, 1 month ago
How do I load bitmaps in GDI without getting errors using CreatePatternBrush and LoadBitmap? Thank you!
I trully am not good with GDI, gonna have to get help from some one else!
Advertisement
Use LoadImage rather than LoadBitmap.

If you want to display the image, Select it into a device context, and then Blt it to the DC of your window. The MSDN has full details on this, but if you have a more specific question I can give a better answer.
http://workspot.net/~kondor/tutors/windows/index.html

look at loading a bmp
good luck

This topic is closed to new replies.

Advertisement