Dela via


CMFCPropertyPage::CMFCPropertyPage

Constructs a CMFCPropertyPage object.

CMFCPropertyPage(
   UINT nIDTemplate,
   UINT nIDCaption=0 
);
CMFCPropertyPage(
   LPCTSTR lpszTemplateName,
   UINT nIDCaption=0 
);

Parameters

  • nIDTemplate
    Resource ID of the template for this page.

  • nIDCaption
    Resource ID of the label to put in the tab for this page. If 0, the name is obtained from the dialog box template for this page. The default value is 0.

  • lpszTemplateName
    Points to the name of the template for this page. Cannot be NULL.

Remarks

For more information about the constructor parameters, see CPropertyPage::CPropertyPage.

Requirements

Header: afxpropertypage.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCPropertyPage Class

CPropertyPage::CPropertyPage