PropSheet_IdToIndex macro (prsht.h)

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

Syntax

void PropSheet_IdToIndex(
   hDlg,
   id
);

Parameters

hDlg

Type: HWND

Handle to the property sheet window.

id

Type: int

Resource ID of the page.

Return value

None

Requirements

   
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_IndexToId