CPropertyPage::CPropertyPage

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

参数:
nIDTemplate用于此页的模板ID。
nIDCaption用来放在此页的标签中的名字ID。如果是0,则名字将从此页的对话框模板中取得。
lpszTemplateName指向一个字符串,该字符串包含了用于此页的模板的名字。不可以是NULL。

说明:
此函数用来构造一个CPropertyPage对象。在满足下列条件之后,此对象将被显示:
·已经用CPropertySheet::AddPage将此页添加到一个属性表中。
·已经调用了属性表的DoModal或Create函数。
·用户已经选择了(调整到)这一页。
如果你有多个参数(例如,你正使用数组),则使用CPropertySheet::Construct来代替CPropertyPage。

请参阅:
CPropertySheet::Create, CPropertySheet::DoModal, CPropertySheet::AddPage, CPropertyPage::Construct