-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
是的,這是可能的。你試過了嗎?這是真正簡單的過程。 –