PropSheet_PageToIndex macro (prsht.h)

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

Syntax

void PropSheet_PageToIndex(
   hDlg,
   hpage
);

Parameters

hDlg

Type: HWND

Handle to the property sheet.

hpage

Type: HPROPSHEETPAGE

HPROPSHEETPAGE handle to the property sheet page.

Return value

None

Requirements

   
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

CreatePropertySheetPage

PropSheet_IndexToPage

Reference