Hi Luke,
That's the way we do it now, but user can change system colour (Display Properties->Appearance) and we'd like to use the same colour in our application.
My idea was to use GetSysColor (which works fine) in order to determine COLOR_BTNFACE and assign it to frame's bgcolor (I could not...