There are 2 modes of the property page
<span style= "FONT-SIZE:18PX;" ></span><pre name= "code" class= "CPP" >
Wizard mode Id_wiznext //Nextid_wizback //Backid_wizfinish //Finshidcancel //Cancel//Normal mode IDOK // Okidcancel //cancelid_apply_now //applyidhelp //help
To create your own property page
class cnewsheet : public CPropertySheet
rewriteBOOL Cnewsheet::oninitdialog () {bool bresult = CPropertySheet::OnInitDialog (); GetDlgItem (IDOK)->showwindow (sw_hide); GetDlgItem (IDCANCEL)->showwindow (sw_hide); GetDlgItem (Id_apply_now)->showwindow (sw_hide); GetDlgItem (idhelp)->showwindow (sw_hide);//TODO: Add your private code here return bresult;}
Cnewsheet Sheet ("Property Pages Dialog box"); CPage1 Page1; CPage2 Page2;sheet. AddPage (&page1); sheet. AddPage (&page2); sheet. DoModal ();
<span style= "Color:rgb (85, 85, 85); font-family: ' Microsoft Yahei '; font-size:15px; line-height:35px; " >locojyw</span><span style= "Color:rgb (85, 85, 85); font-family: ' Microsoft Yahei '; font-size:15px; line-height:35px; " >email:[email protected]</span><span style= "Color:rgb (85, 85, 85); font-family: ' Microsoft Yahei '; font-size:15px; line-height:35px; " > Welcome everyone to communicate, what error please point out </span><span style= "Color:rgb (85, 85, 85); font-family: ' Microsoft Yahei '; font-size:15px; line-height:35px; " > reproduced in the source </span>
Wizard mode Id_wiznext //Nextid_wizback //Backid_wizfinish //Finshidcancel //Cancel//Normal mode IDOK // Okidcancel //cancelid_apply_now //applyidhelp //help
The Property Pages dialog box removes the following row of buttons