PropSheetPageProcPropSheetPageProc*
*



Contents  *



Index  *Topic Contents
*Previous Topic: PropertySheet
*Next Topic: PropSheetProc

PropSheetPageProc


UINT CALLBACK PropSheetPageProc(
    HWND hwnd,		
    UINT uMsg,		
    LPPROPSHEETPAGE ppsp		
);		

Specifies 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 this function to perform initialization and cleanup operations for the page.

hwnd
Reserved; must be NULL.
uMsg
Action flag. This parameter can be one of the following values:
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.
ppsp
Address of a PROPSHEETPAGE structure that defines the page being created or destroyed.

An application must specify the address of this callback function in the pfnCallback member of a PROPSHEETPAGE structure before specifying the address of the structure in a call to the CreatePropertySheetPage function.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.