PSM_HWNDTOINDEX message

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

Parameters

wParam

Handle to the page's window.

lParam

Must be zero.

Return value

Returns the zero-based index of the property sheet page specified by wParam 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