PropSheet_IndexToHwnd macro (prsht.h)

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

Syntax

HWND PropSheet_IndexToHwnd(
   HWND hDlg,
   int  i
);

Parameters

hDlg

Type: HWND

Handle to the property sheet page's window.

i

Type: int

Zero-based index of the page.

Return value

Type: HWND

Returns the handle to the property sheet page's window 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_HwndToIndex