|
-
May 19th, 1999, 11:12 PM
#1
How can I deride a class from CEditView and CRichEditView
I want to define a view class and I want to derived it from the base class CEditView and CRichEditView. But I don't know how to do it, The Functions I programmed can be complied for one base class(CEditView or CRichEditView).If
anyone know how to do it,please let me know.
-
May 20th, 1999, 02:01 AM
#2
Re: How can I deride a class from CEditView and CRichEditView
If your using AppWizard to create a new project it's simple!!! On the last step simply highlight the view class and change the base class from the drop down menu at the bottom. If your trying to modify an existing project then you'll need to make sure to change all the include statements to reflect the new base or it won't compile. Good Luck!!!
-
May 20th, 1999, 02:12 AM
#3
Re: How can I deride a class from CEditView and CRichEditView
If you want derive your view from both CRichEditView and CEditView, you can try to use the multiple inheritance with virtual base class, but the MFC help doesn't recommend to do this
Jack Shainsky
Jerusalem, Israel.
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|