|
-
August 1st, 2008, 09:44 PM
#1
External bitmaps and buttons
I'm loading in external bitmaps for my buttons to display. The bitmaps are being loaded fine. The buttons however are not displaying the bitmaps.
The images are HANDLE's. I'm setting the button to display the bitmap with SendMessage(buttonHwnd, BM_SETIMAGE, (WPARAM)IMAGE_BITMAP, (LPARAM)bitmapHandle)
I've also set the buttons style to BS_BITMAP.
I don't want to use resources, I want to load the images at run time from external sources.
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
|