From: Crispen, Bob (bob.crispen_at_boeing.com)
Date: 27 February 2003
Subject: Re: How to change window's background color ?
Date: Thu, 27 Feb 2003 07:41:15 +0100
From: "Frank Kaehler" <AAAfktozz_at_gmx.net>
Newsgroups: comp.os.ms-windows.programmer.win32
"Oleg Levin" <olevin_at_attbi.com> schrieb im Newsbeitrag
news:3E5DA243.2000301_at_attbi.com...
> Ladies & Gentlemen,
>
> I know that my question looks very stupid, but I gave up to find out how
> to do this. If somebody just point me to the right place to look,
> please...
>
No Question is stupid!
Only one Question, those is not asked is stupid.
try
::SetClassLong(m_hWnd, GCL_HBRBACKGROUND, (LONG)::GetStockObject(BLACK_BRUSH));
You can change "::GetStockObject(BLACK_BRUSH)" with your own Brush.
Frank
-- ------------------------ To reply to me, remove the 'AAA' from my email address
This archive was generated by hypermail pre-2.1.8 : 26 April 2003 EDT