Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Takes the HPROPSHEETPAGE handle of a property sheet page and returns its zero-based index. You can use this macro or send the PSM_PAGETOINDEX message explicitly.
Syntax
int PropSheet_PageToIndex(
HWND hDlg,
HPROPSHEETPAGE hpage
);
Parameters
hDlg
Type: HWND
Handle to the property sheet.
hpage
Type: HPROPSHEETPAGE
HPROPSHEETPAGE handle to the property sheet page.
Return value
Type: int
Returns the zero-based index of the property sheet page specified by hpage 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 |
See also
Reference