Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setsyscolor</b> set current color of display element http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetSysColor          Set Current Color of Display Element

void SetSysColor(nChanges, lpSysColor, lpColorValues)
int nChanges; /* Number of colors to change */
LPINT lpSysColor; /* Array of integers from table below */
long FAR *lpColorValues; /* RGB values, matched to lpSysColor array */


        |-----------------------|
        | COLOR_ACTIVEBORDER    |
        | COLOR_ACTIVECAPTION   |
        | COLOR_APPWORKSPACE    |
        | COLOR_BACKGROUND      |
        | COLOR_CAPTIONTEXT     |
        | COLOR_INACTIVEBORDER  |
        | COLOR_INACTIVECAPTION |
        | COLOR_MENU            |
        | COLOR_MENUTEXT        |
        | COLOR_SCROLLBAR       |
        | COLOR_WINDOW          |
        | COLOR_WINDOWFRAME     |
        | COLOR_WINDOWTEXT      |
        | CTLCOLOR_BTN          |
        | CTLCOLOR_DLG          |
        | CTLCOLOR_EDIT         |
        | CTLCOLOR_LISTBOX      |
        | CTLCOLOR_MAX          |
        | CTLCOLOR_MSGBOX       |
        | CTLCOLOR_SCROLLBAR    |
        | CTLCOLOR_STATIC       |
        +-----------------------+

See Also: RGB GetSysColor

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