PSM_PAGETOINDEX message

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

Parameters

wParam

Must be zero.

lParam

HPROPSHEETPAGE handle to the property sheet page.

Return value

Returns the zero-based index of the property sheet page specified by lParam if successful. Otherwise, it returns -1.

Requirements

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