Wednesday, 15 September 2010

How to delete the default Help button in CPropertySheet in MFC? -


I am using the CPropertySheet class for my design in the MFC application, usually the CPPprooty sheet will have 4 default buttons. Hide / Hide Help button .. I tried the following..but it is not working / not responding .. I have written in my CPPTP page class that there is no other way ...

m_psh .dwFlags & amp; = ~ PSH_HASHELP;

// delete help button CBTTTON * BTN help; BtnHelp = reinterpret_cast & lt; CBTton * & gt; GetDlgItem (IDHELP); BtnHelp-> DestroyWindow ();

No comments:

Post a Comment