Can you get the RGB value from HBRUSH or from the brush id? for example: I'm looking for GRAY_BRUSH in the RGB value.
HBRUSH
GRAY_BRUSH
You want to use the GetObject function to return a LOGBRUSH structure containing the color of the brush.