PropSheet_IndexToHwnd macro
Takes the index of a property sheet page and returns its window handle. You can use this macro or send the PSM_INDEXTOHWND message explicitly.
Syntax
HWND PropSheet_IndexToHwnd(
HWND hPropSheetDlg,
int iPageIndex
);
Parameters
- hPropSheetDlg
-
Type: HWND
Handle to the property sheet page's window.
- iPageIndex
-
Type: int
Zero-based index of the page.
Return value
Returns the handle to the property sheet page's window specified by iPageIndex if successful. Otherwise, it returns zero.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012