Remove help button on CPropertySheet
-
hi, how to remove help button in cpropertysheet. thanks in advance.
-
hi, how to remove help button in cpropertysheet. thanks in advance.
sheet.m_psh.dwFlags &= ~PSH_HASHELP;
-
hi, how to remove help button in cpropertysheet. thanks in advance.
BOOL CMySheet::OnInitDialog() { CPropertySheet::OnInitDialog(); // this hides the Help button CWnd* pHelpButton = GetDlgItem (IDHELP); ASSERT (pHelpButton); pHelpButton->ShowWindow (SW_HIDE); return TRUE; }
-
hi, how to remove help button in cpropertysheet. thanks in advance.
Write the following code in constructor of every property page which is added in to the property sheet m_psp.dwFlags &= ~(PSP_HASHELP); Thanx TAKE CARE
-
Write the following code in constructor of every property page which is added in to the property sheet m_psp.dwFlags &= ~(PSP_HASHELP); Thanx TAKE CARE
hi thanks for suggest it's working.
-
BOOL CMySheet::OnInitDialog() { CPropertySheet::OnInitDialog(); // this hides the Help button CWnd* pHelpButton = GetDlgItem (IDHELP); ASSERT (pHelpButton); pHelpButton->ShowWindow (SW_HIDE); return TRUE; }
thanks for your suggestions.
-
sheet.m_psh.dwFlags &= ~PSH_HASHELP;
hi, i have some data validation on onok the page. the validation is not satisfied means i don't want to close the sheet. once again place the focus on the control on the page. thanks in advance