MFC: customize CFrameWnd background. How?
-
Hi all, an MFC application, MDI. VC7. the wizard has generated few classes for me. and one of them is the main frame CMainFrame (CFrameWnd). If there are no children, the user can see light gray background. How can i customize this background (draw a bitmap)? When i do ON_WM_PAINT -> OnPaint(void) { CPaintDC dc(this); // try to draw into dc } no effect! still standard light gray background! how do i cutomize the way background drawn? regards, alex debug - is my life style
-
Hi all, an MFC application, MDI. VC7. the wizard has generated few classes for me. and one of them is the main frame CMainFrame (CFrameWnd). If there are no children, the user can see light gray background. How can i customize this background (draw a bitmap)? When i do ON_WM_PAINT -> OnPaint(void) { CPaintDC dc(this); // try to draw into dc } no effect! still standard light gray background! how do i cutomize the way background drawn? regards, alex debug - is my life style
http://www.codeproject.com/dialog/mdibackgroundimage.asp[^]
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!
-
http://www.codeproject.com/dialog/mdibackgroundimage.asp[^]
[
](http://www.canucks.com)Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!
:):):) wow! thank you!!! that't exactly what i looked for! regards, alex debug - is my life style