Click here to Skip to main content
15,881,866 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to set the bitmap as the background for the dialog window in vC++ MFC??
Posted

Handle painting yourself
CPaintDC dc(this);
CRect rc;        
GetClientRect(&rc);        
dc.FillSolidRect(rc,RGB(0x33,0x55,0x56));
CDialog::OnPaint();


or something like that

Regards
Espen Harlinn
 
Share this answer
 
See here[^]

Please note that the author of the article is none other than our resident celebrity Nishant Sivakumar. Also note that I copied your entire question verbatim and pasted it into Google and I believe the link I gave you here was hit number 2. Google first ask questions later. Good luck. :)
 
Share this answer
 
Comments
Espen Harlinn 7-Jan-11 7:55am    
5+ Bob :)
fjdiewornncalwe 7-Jan-11 10:33am    
+5 from me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900