Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getsyscolor()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetSysColor()
Return the colour of a Windows display element
------------------------------------------------------------------------------

Syntax
GetSysColor( <nDisplayElement> )   -->   nColour

Arguments
<nDisplayElement> is the display element whose colour is
wanted.  (One of the COLOR_* values defined in WINDOWS.CH.)

Returns
The return value is a colour value (corresponding to colours
produced by the RGB() macro).

Description
This function can be used to retrieve the colour used for any
of the display elements (standard parts of a Windows screen,
like borders, backgrounds, and title bars).

Example
? "Desktop colour is", GetSysColor( COLOR_BACKGROUND )
? "window colour is", GetSysColor( COLOR_WINDOW )


See Also: GetBValue() GetGValue() GetRValue() GetSystemMetrics() RGB()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson