PropSheet_IndexToPage macro (prsht.h)

Takes the index of a property sheet page and returns its HPROPSHEETPAGE handle. You can use this macro or send the PSM_INDEXTOPAGE message explicitly.

Syntax

HPROPSHEETPAGE PropSheet_IndexToPage(
   HWND hDlg,
   int  i
);

Parameters

hDlg

Type: HWND

Handle to the property sheet window.

i

Type: int

Zero-based index of the page.

Return value

Type: HPROPSHEETPAGE

Returns the HPROPSHEETPAGE handle of the property sheet page specified by i if successful. Otherwise, it returns zero.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header prsht.h

See also

PropSheet_PageToIndex