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

Win32 - User Specified System Colours?

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