1 添加新类YYY  基于 CPropertySheet
2 添加消息函数 OnInitDialog()
  实现
{
BOOL bResult = CPropertySheet::OnInitDialog();
int ids[] = { ID_APPLY_NOW,IDOK,IDCANCEL};
for(int i = 0; i < sizeof ids/sizeof ids[0]; i++)
{
CWnd * pWnd = GetDlgItem(ids[i]);
ASSERT(pWnd);
if(pWnd)       pWnd->ShowWindow(FALSE);
}
return bResult;
}3 在 XXXApp::InitInstance() 中修改
CPropertySheet sheet("....");为
YYY sheet("....");4 添加头文件