Group: Brush - Library: user32
Using FrameRgn for displaying system colors
HBRUSH GetSysColorBrush(
int nIndex // system color index
);
DECLARE INTEGER GetSysColorBrush IN user32 INTEGER nIndex
nIndex [in] Specifies a color index. This value corresponds to the color used to paint one of the window elements.
The return value identifies a logical brush if the nIndex parameter is supported by the current platform. Otherwise, it returns NULL.
System color brushes are owned by the system and must not be destroyed. That means you should not apply DeleteObject to brushes returned by this function.