I can't get rid of "?" button in my CPropertySheet
I was able to remove the "Apply" button with
sh.m_psh.dwFlags |= PSH_NOAPPLYNOW;
but this doesn't work:
sh.m_psh.dwFlags &= ~(PSH_HASHELP);
Is there something I should change inside the CPropertyPage elements?
I could also solve the problem by putting my CPropertySheet inside a dialog box, is there an "easy" way to do this?(I would use create instead of DoModal and I would have no buttons).
This solution would be even better because I could put even different buttons.
I was able to remove the "Apply" button with
sh.m_psh.dwFlags |= PSH_NOAPPLYNOW;
but this doesn't work:
sh.m_psh.dwFlags &= ~(PSH_HASHELP);
Is there something I should change inside the CPropertyPage elements?
I could also solve the problem by putting my CPropertySheet inside a dialog box, is there an "easy" way to do this?(I would use create instead of DoModal and I would have no buttons).
This solution would be even better because I could put even different buttons.