I am using CPropertySheet
class for my design in MFC application, normally in CPropertySheet
there would be 4 default buttons. I want to hide/delete the HELP button. I tried the following, but it's not working/neither responding. I had this written in my CPropertyPage
class
is there any other way...
m_psh.dwFlags &= ~PSH_HASHELP;
// Destroy the Help button
CButton *btnHelp;
btnHelp = reinterpret_cast<CButton *>(GetDlgItem(IDHELP));
btnHelp->DestroyWindow();