Archived

This topic is now archived and is closed to further replies.

dark chrono4

Bitmaped buttons

Recommended Posts

I''m trying to give a pushbutton a bitmap instead of text. Now I got the got the bitmap loaded into memory fine and I got it blited onto the button fine. The problem is if I leave the program alone for a couple of seconds the title bar will start flashing from active to inactive. And the bitmap won''t display on the button anymore. Also when I quit the program and go back to the IDE the toolbar icons will flicker for a couple of seconds. All of my painting is done in the WM_PAINT message, is this the cause of my problems? Should I be updating in a different message? "I can''t work like this! Where are my fuzzy dice?"

Share this post


Link to post
Share on other sites