Windows Theme colors
Windows Theme colors
Can someone please tell me how to get the windows xp theme colors from a FB program?
Well, the Windows API has GetSysColor(), which will get the system colors as set by the theme, MSDN documentation:
[those urls with parenthesis are evil]
and the uxtheme lib (responsible for theme things) also has functions to directly query information about a theme, for example here:
and the others in that section... I've only got experience with GetSysColor though.
[those urls with parenthesis are evil]
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Yeah, they're pretty evil...
One possible workaround is to use the %xx notation on them. The () brackets are %28 and %29.
The MSDN urls tend to work without the parentheses anyway though:
http://msdn.microsoft.com/en-us/library/ms724371
http://msdn.microsoft.com/en-us/library/bb773397
One possible workaround is to use the %xx notation on them. The () brackets are %28 and %29.
The MSDN urls tend to work without the parentheses anyway though:
http://msdn.microsoft.com/en-us/library/ms724371
http://msdn.microsoft.com/en-us/library/bb773397