-
March 17th, 2004, 04:37 PM
#1
overriding mfc inheritance
Here is the MFC class hierachy:
CObject
|
CCmdTarget
|
CWnd
|
CDialog
|
CPropertyPage
Will I be able to do something like this ? :
CObject
|
CCmdTarget
|
CWnd
|
SDialog
|
CPropertyPage
My SDialog derives from CDialog.
My SDialog has functionality that I want to be able to use in my class (CMyPropertyPage) that I will derive from CPropertyPage....
One obvious approach is to use multiple inheritance:
CMyPropertyPage : public CPropertyPage, public SDialog
{
}
Thanks,
MD
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
|