CPropertySheetEx::CPropertySheetEx

CPropertySheetEx( );

CPropertySheetEx( UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL, HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL );

CPropertySheetEx( LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0, HBITMAP hbmWatermark = NULL, HPALETTE hpalWatermark = NULL, HBITMAP hbmHeader = NULL );

Parameters

nIDCaption

ID of the caption to be used for the property sheet.

pParentWnd

Points to the parent window of the property sheet. If NULL, the parent window will be the main window of the application.

iSelectPage

The index of the page that will initially be on top. Default is the first page added to the sheet.

hbmWatermark

A handle to the background bitmap of the property sheet.

hpalWatermark

Handle to the palette of the watermark bitmap and/or header bitmap.

hbmHeader

Handle to the header bitmap of the property page.

pszCaption

Pointer to a string containing the caption to be used for the property sheet. Cannot be NULL.

Remarks

Call this member function to construct a CPropertySheetEx object. To display the property sheet, call DoModal or Create. The string contained in the first parameter will be placed in the caption bar for the property sheet.

If you have multiple parameters (for example, if you are using an array), use CPropertySheetEx::Construct instead of CPropertySheetEx.

The watermark and/or header images are automatically displayed if valid values are passed in the call to CPropertySheetEx.

CPropertySheetEx OverviewClass MembersHierarchy Chart

See Also   CPropertySheetEx::Construct, Graphic Objects in Visual C++ Programmer’s Guide