PropSheet_IndexToId macro (prsht.h)

Takes the index of a property sheet page and returns its resource identifier (ID). You can use this macro or send the PSM_INDEXTOID message explicitly.

Syntax

int PropSheet_IndexToId(
   HWND hDlg,
   int  i
);

Parameters

hDlg

Type: HWND

Handle to the property sheet.

i

Type: int

Zero-based index of the page.

Return value

Type: int

Returns the resource ID of the property sheet page 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

PSM_INDEXTOID