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 function is an application-defined callback function that a property sheet calls when a page is created and when it is about to be destroyed. An application can use PropSheetPageProcto perform initialization and cleanup operations for the page.
UINT CALLBACK PropSheetPageProc( HWND hwnd , UINT uMsg , LPPROPSHEETPAGE ppsp );
Parameters
Value | Description |
---|---|
PSPCB_CREATE | A page is being created. Return nonzero to allow the page to be created, or zero to prevent it. |
PSPCB_RELEASE | A page is being destroyed. The return value is ignored. |
Return Values
The return value depends on the value of uMsg.
Remarks
An application must specify the address of this callback function in the pfnCallbackmember of a PROPSHEETPAGEstructure before specifying the address of the structure in a call to the CreatePropertySheetPagefunction.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Prsht.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
CreatePropertySheetPage, PROPSHEETPAGE