
How to implement MDI with different base classes?
Quote:
>If I want to create a MDI program with VC6.0, the class wizard will ask you
>which base class you want' CView, or CEditView, or CFormView. Now, I want
>several kinds child window, one is CEditView, and another is CFormView. But
>how to make a childwnd is both a subclass of CMDIChildWnd and CEditView?
Feng,
Have a look at "Views Samples" in the Visual C++ help. I think the
CHKBOOK sample might help you.
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.