PropSheet_AddPage

This macro adds a new page to the end of an existing property sheet. You can use this macro or send the PSM_ADDPAGE message explicitly.

At a Glance

Header file: Prsht.h
Windows CE versions: 1.0 and later
Related message: PSM_ADDPAGE

Syntax

BOOL PropSheet_AddPage( hPropSheetDlg, hpage );

Parameters

hPropSheetDlg

Handle to the property sheet.

hpage

Handle to the page to add. The page must have been created by a previous call to the CreatePropertySheetPage function.

Return Values

None.

Remarks

The new page should be no larger than the largest page currently in the property sheet because the property sheet is not resized to fit the new page.