Jump to content
  • Advertisement


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


Win32 - User Specified System Colours?

This topic is 5241 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

Hey all, Another Win32 question from me, I''m sure you''re all thrilled. You set a Window''s background colour like this: WindowClass.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); If you want the background to be black. I do not want the background to black or white or green or red. I want the user to have the option. If their Windows has the default grey, I want the colour to be the default grey. If the user has set all their backgrounds as red, I want them to have their default red colour. How can I let Windows decide what the colours should be?

Share this post

Link to post
Share on other sites

See the WNDCLASS documentation.

Thanks Salsa!Colin Jeanne | Invader's Realm
"I forgot I had the Scroll Lock key until a few weeks ago when some asshole program used it. It even used it right" - Conner McCloud

[edited by - Invader X on May 20, 2004 1:54:26 AM]

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!