PropSheet_IndexToId macro

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 hPropSheetDlg,
   int  iPageIndex
);

Parameters

hPropSheetDlg

Type: HWND

Handle to the property sheet.

iPageIndex

Type: int

Zero-based index of the page.

Return value

Returns the resource ID of the property sheet page specified by iPageIndex if successful. Otherwise, it returns zero.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Prsht.h

See also

PSM_INDEXTOID

 

 

Show: