Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

win32 Window Background colour

Started by wforl Sep 3, 2008 at 12:52 PM 1 replies 800+ views
Original Post
wforl
wforl
Im trying to get the background the same as the light gray the text uses, as it background, ive tried the following with no luck, #define WHITE_BRUSH 0 #define LTGRAY_BRUSH 1 #define GRAY_BRUSH 2 #define DKGRAY_BRUSH 3 #define BLACK_BRUSH 4 #define NULL_BRUSH 5 #define HOLLOW_BRUSH NULL_BRUSH Photobucket thanks
Mike nl
Mike nl
try COLOR_BTNFACE. When using in WNDCLASSEX use (HBRUSH)(COLOR_BTNFACE + 1).
Million-to-one chances occur nine times out of ten!
wforl
wforl
worked

thanks :)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.