PropSheet_HwndToIndex macro (prsht.h)

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

Syntax

void PropSheet_HwndToIndex(
   hDlg,
   hwnd
);

Parameters

hDlg

Type: HWND

Handle to the property sheet's window.

hwnd

Type: HWND

Handle to the page's window.

Return value

None

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

GetParent

Other Resources

PropSheet_GetCurrentPageHwnd

Reference