Partager via


CMFCPropertySheet::CMFCPropertySheet

Constructs a CMFCPropertySheet object.

CMFCPropertySheet(
   UINT nIDCaption,
   CWnd* pParentWnd=NULL,
   UINT iSelectPage=0 
);
CMFCPropertySheet(
   LPCTSTR pszCaption,
   CWnd* pParentWnd=NULL,
   UINT iSelectPage=0 
);

Parameters

  • [in] pszCaption
    A string that contains the property sheet caption. Cannot be NULL.

  • [in] nIDCaption
    A resource ID that contains the property sheet caption.

  • [in] pParentWnd
    Pointer to the parent window of the property sheet, or NULL if the parent window is the main window of the application. The default value is NULL.

  • [in] iSelectPage
    The zero-based index of the top property page. The default value is 0.

Remarks

For more information, see the parameters for the CPropertySheet::CPropertySheet constructor.

Requirements

Header: afxpropertysheet.h

See Also

Reference

CMFCPropertySheet Class

Hierarchy Chart

CPropertySheet Class