
Change background color of dialog box title
Quote:
> G'Day,
> I can use SetWindowText("Tony"); to set the title of dialog box, I want to
> change the background colour, as a status indicator...
> Any Ideas how to do that ??
> TIA
> Tony
It's not simple. You handle the WM_NCPAINT message and paint the entire
titlebar yourself, and handle WM_ACTIVATE to emulate the color change
that happens when the window gets/loses focus.
--
Scott McPhillips [VC++ MVP]