I'm creating an about popup box with the company logo etc and I would like to match the titlebar color to the Logo (Red) Is there a simple way to do this?
I'm creating an about popup box with the company logo etc and I would like to match the titlebar color to the Logo (Red) Is there a simple way to do this?
The colour of the caption bar is set according the users display settings. I don't know of any way to set it explicitly on a per window basis, although I'm not necessarily saying there is no way to do it.
You can handle the WM_NCPAINT message and draw the caption any way you like - but you will have to draw the borders and any other part of the non-client area too.