diff --git a/include/winuser.h b/include/winuser.h index 11906c775fd..3ec19ca1924 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -752,6 +752,9 @@ typedef struct #define COLOR_HOTLIGHT 26 #define COLOR_GRADIENTACTIVECAPTION 27 #define COLOR_GRADIENTINACTIVECAPTION 28 +/* win2k/xp colors */ +#define COLOR_MENUHILIGHT 29 +#define COLOR_MENUBAR 30 /* WM_CTLCOLOR values */ #define CTLCOLOR_MSGBOX 0 diff --git a/windows/syscolor.c b/windows/syscolor.c index 5fcf030e7ac..b9e70f7bfd3 100644 --- a/windows/syscolor.c +++ b/windows/syscolor.c @@ -69,11 +69,13 @@ static const char * const DefSysColors[] = "ButtonAlternateFace", "180 180 180", /* COLOR_ALTERNATEBTNFACE */ "HotTrackingColor", "0 0 255", /* COLOR_HOTLIGHT */ "GradientActiveTitle", "16 132 208", /* COLOR_GRADIENTACTIVECAPTION */ - "GradientInactiveTitle", "181 181 181" /* COLOR_GRADIENTINACTIVECAPTION */ + "GradientInactiveTitle", "181 181 181",/* COLOR_GRADIENTINACTIVECAPTION */ + "MenuHilight", "0 0 0", /* COLOR_MENUHILIGHT */ + "MenuBar", "192 192 192" /* COLOR_MENUBAR */ }; -#define NUM_SYS_COLORS (COLOR_GRADIENTINACTIVECAPTION+1) +#define NUM_SYS_COLORS (COLOR_MENUBAR+1) static COLORREF SysColors[NUM_SYS_COLORS]; static HBRUSH SysColorBrushes[NUM_SYS_COLORS];