Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This message retrieves a handle to the window of the current page of a property sheet. You can send this message explicitly or by using the PropSheet_GetCurrentPageHwndmacro.
PSM_GETCURRENTPAGEHWND wParam= 0; lParam= 0;
Return Values
Returns a handle to the window of the current property sheet page.
Use the PSM_GETCURRENTPAGEHWNDmessage with modeless property sheets to determine when to destroy the dialog box. When the user clicks the OKor Cancelbutton, PSM_GETCURRENTPAGEHWND returns NULL, and you can then use the DestroyWindowfunction to destroy the dialog box.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
DestroyWindow, PropertySheet, PropSheet_GetCurrentPageHwnd, PSM_GETCURRENTPAGEHWND