CPropertyPage( );
CPropertyPage( UINT nIDTemplate, UINT nIDCaption = 0 );
CPropertyPage( LPCTSTR lpszTemplateName, UINT nIDCaption = 0 );
Parameters
nIDTemplate
ID of the template used for this page.
nIDCaption
ID of the name to be placed in the tab for this page. If 0, the name will be taken from the dialog template for this page.
lpszTemplateName
Points to a string containing the name of the template for this page. Cannot be NULL.
Remarks
Constructs a CPropertyPage object. The object is displayed after all of the following conditions are met:
If you have multiple parameters (for example, if you are using an array), use CPropertySheet::Construct instead of CPropertyPage.
Example
// Declare a CStylePage object, which is a CPropertyPage-derived class.
CStylePage stylePage;
// Declare a CPropertyPage object with IDD_SHAPE, the ID of the
// template used for this page.
CPropertyPage shapePage(IDD_SHAPE);
CPropertyPage Overview | Class Members | Hierarchy Chart
See Also CPropertySheet::Create, CPropertySheet::DoModal, CPropertySheet::AddPage, CPropertyPage::Construct