CompuServe Messages

MDIChild Windows

    10-Jul-94 20:25:34
Sb: #30232-MDIChild Windows
Fm: Stuart L Hodgins 71776,1144
To: Jeff Zuckerman 70354,131
<< I have derived a new MDIChildWnd class and have a PreCreateWindow function but I'm not sure what I need to do there. >> This should be straightforward (!) : BOOL CMyMDIChildWnd::PreCreateWindow( CREATESTRUCT& cs ) { cs.style |= WS_MAXIMIZE; return CMDIChildWnd::PreCreateWindow( cs ); } // PreCreateWindow Make sure to register your derived CMyMDIChildWnd class when you do the AddDocTemplate in your app's InitInstance(). I hope this helps, SLH.