CMFCPropertySheet::CMFCPropertySheet

构造 CMFCPropertySheet 对象。

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

参数

  • [in] pszCaption
    包含属性表声明的字符串。 不能为 NULL。

  • [in] nIDCaption
    包含属性表声明的资源ID。

  • [in] pParentWnd
    指向属性表的父窗口或 NULL,如果父窗口是应用程序的主窗口。 默认值为 NULL。

  • [in] iSelectPage
    顶部属性页的从零开始的索引。 默认值为 0。

备注

有关更多信息,请参见。CPropertySheet::CPropertySheet 构造函数参数。

要求

标头: afxpropertysheet.h

请参见

参考

CMFCPropertySheet选件类

层次结构图

CPropertySheet选件类