Jump to content
  • Advertisement


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

dark chrono4

Bitmaped buttons

This topic is 6384 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!