Caption Bar Color!
Hi guys, do you know a way of setting the window caption bar to the default active color? I know of the function DrawCaption(), but I don't think I can use it on a dialog box (therefore it has no procedure, and I would like to avoid having a WS_PAINT for each one of my windows.
My app can draw several windows at the same time and Im trying to avoid (fake) them from 'losing' their focus.
You should be able to use GetWindow() to get your dialog's HWND. I'm sure you could use subclassing to handle the painting part. However, there is probably a better way. Why not use a window instead of a dialog?
>> Why not use a window instead of a dialog?
Cant use MSVC++ resource editor to create window