I'm using the MFC AppWizard to create a dialog app called MyTest. This will generate the CMyTest.h/.cpp and CMyTestDlg.h/.cpp files.
On the Dialog, i have 2 buttons: m_btn1 & m_btn2 of type CButton.
Now I want to create another class that I can extend this MyTestDlg class so I can access these 2 buttons to update button's text or state. How can I do so?