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
int PropSheet_IdToIndex(
HWND hDlg,
int id
);
Parameters
hDlg
Type: HWND
Handle to the property sheet window.
id
Type: int
Resource ID of the page.
Return value
Type: int
Returns the zero-based index of the property sheet page specified by id if successful. Otherwise, it returns -1.
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 |