15,978
社区成员
发帖
与我相关
我的任务
分享
// 创建向导
CPropSheet PropSheet(_T("Initialize"));
PropSheet.SetWizardMode();
/*
CPropPage1 PropPage;
CRect rect;
PropPage.GetClientRect(&rect);
int cx,cy;
cx=rect.Width();
cy=rect.Height()+40;
PropSheet.SetWindowPos(0,0,0,cx,cy,SWP_NOZORDER | SWP_NOMOVE);
*/
PropSheet.DoModal();
CPropPage1 PropPage;
CRect rect;
PropPage.GetClientRect(&rect);
int cx,cy;
cx=rect.Width();
cy=rect.Height()+20;
SetWindowPos(0,0,0,cx,cy,SWP_NOZORDER | SWP_NOMOVE);