CPropertySheet::CPropertySheet
CPropertySheet();
CPropertySheet( UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0 );
CPropertySheet( LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0 );
参数:
nIDCaption
用于属性表的标题的ID。
pParentWnd
指向此属性表的父窗口的指针。如果是NULL,则其父窗口就是应用程序的主窗口。
iSelectPage
最初在最顶上的页的索引。缺省值是添加到表中的第一页的索引。
pszCaption
指向一个字符串的指针,该字符串包含了用于属性表的标题。不能是NULL。
说明:
此函数用来构造一个CPropertySheet对象。要显示此CPropertySheet,调用DoModal或Create。第一个参数中包含的字符串将被放置在属性表的标题条中。
如果你有多个参数(例如,你使用的是数组),则使用Construct来代替CPropertySheet。
请参阅:
CPropertySheet::Construct
,
CPropertySheet::DoModal
,
CPropertySheet::Create
,
CPropertyPage