-1
场景:我想在子中使用父方法。是否有可能创建一个包含两个对话框类的解决方案?CDialog类的父 - 子实现
//Parent is created using class wizard(inherited from CDialog)
class CDlgParent : public CDialog
//Child class created using class wizard(inherited from CDialog) and then
//changed the inheritance
class CDlgChild : public CDlgParent
1.我需要的是两个对话框类,一个是父类,另一个是父类继承。子对话框使用基本方法。任何帮助表示赞赏。 – RENN
是的,这是可能的。你试过了吗?这是真正简单的过程。 –