Making CView background gray
-
Hi guys, I have a MDI program with CView and CDocument. The CView windows popup with white background. Does anyone know how I can change that into gray, or for that matter, any color other than white? Thanks for the help.
-
Hi guys, I have a MDI program with CView and CDocument. The CView windows popup with white background. Does anyone know how I can change that into gray, or for that matter, any color other than white? Thanks for the help.
I think this is the proccess: Overriden
OnEraseBck
.UseGetClientDC
to get bound of your white window and change the color with GDI tools. Mazy "The more I search, the more my need For you, The more I bless, the more I bleed For you."The Outlaw Torn-Metallica -
I think this is the proccess: Overriden
OnEraseBck
.UseGetClientDC
to get bound of your white window and change the color with GDI tools. Mazy "The more I search, the more my need For you, The more I bless, the more I bleed For you."The Outlaw Torn-MetallicaThanks! :-D Worked like a charm.