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 添加头文件
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 添加头文件
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货