Tech Support > Microsoft Windows > Development Resources > Change Background color of Dialog
Change Background color of Dialog
Posted by Harald Collonia on December 30th, 2003


Hi:
How do I change the (typical) gray background color of a dialog?

Thanks,
Harald


Posted by Tim Robinson on December 30th, 2003


Handle WM_CTLCOLORDLG.

--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/

"Harald Collonia" <Harald(nospam)collonia@yahoo.com> wrote in message
news:6xjIb.15529$IM3.8181@newsread3.news.atl.earth link.net...


Posted by Harald Collonia on December 30th, 2003


Thanks, Tim!

"Tim Robinson" <tim.at.gaat.freeserve.co.uk@invalid.com> wrote in message
news:bssgui$110sr$1@ID-103400.news.uni-berlin.de...


Posted by /dev/null on December 31st, 2003


Tim Robinson wrote:
here. The advantage of this approach is that you don't have to remember
that some brush need to be deleted later (likely on WM_DESTROY).



Similar Posts