修改属性对话框类的虚函数OnInitDialog如下:
BOOL COptionSheet::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();
// TODO: 在此添加您的专用代码
GetDlgItem(ID_APPLY_NOW)->ShowWindow(SW_HIDE);
return bResult;
}
The IDs of the standard buttons are IDOK, IDCANCEL, IDHELP and ID_APPLY_NOW.