Advertisement Jump to content


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


Flat buttons and coloured windows

This topic is 6866 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 looking for a way to make my windows have flat buttons, such as those in MS Bookshelf or Encarta. Is there another API I need, or it is part of the Win32 APIs. Also, how do I specify the colour of the window to something other than a system colour. Any help will be apreciated!

Share this post

Link to post
Share on other sites
The easiest way to do this sort of thing is using one of the MFC extension libraries (go to, for instance). Otherwise, if you''re using the bare API, there''s a lot of work to do...and it''s probably not worth the trouble, quite honestly, unless you like messing with tons of different windows messages, device contexts, etc.

(Yeah, I know that the basic techniques in MFC are the same as in the straight API, but things are easier to deal with.)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!