I had a part of code like below..
CPropertySheet oPropSheet("Page", NULL, 0);
oPropSheet.m_psh.dwFlags |= PSH_NOAPPLYNOW;
oPropSheet.m_psh.dwFlags &= ~(PSH_HASHELP);
if(oPropSheet.DoModal() == IDOK)
now I would like to hide or disable OK button..just left only CANCEL button there..
I tried using
but will have application error due to oPropSheet's m_hwnd = NULL..
Anyone can tell me how to do it..??
I able to hide APPLY NOW button..but no able to hide or disable OK button.