I have two classes. class DialogBase is inherited from CDialog class DialogDerived is inherited from DialogBase.
BOOL DialodDervied::OnInitDialog()
{
CDialogBase::OnInitDialog();
//Add Dynamic Control to Main Dialog from here
}
I want to dynamically add a check box in the Dialog (CDialogBase) when it is called through the derived class. Is it possible? If yes, how?