Advertisement

Bitmaped buttons

Started by January 29, 2001 11:37 AM
-1 comments, last by dark chrono4 24 years ago
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?"
"I can't work like this! Where are my fuzzy dice?"

This topic is closed to new replies.

Advertisement