场景:我想在孩子中使用 Parent 方法。是否可以创建具有两个对话框类的解决方案,如下所示?
//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