PSN_RESETPSN_RESET*
*



Contents  *



Index  *Topic Contents
*Previous Topic: PSN_QUERYCANCEL
*Next Topic: PSN_SETACTIVE

PSN_RESET


PSN_RESET 
    lppsn = (LPPSHNOTIFY) lParam; 

Notifies a page that the user has clicked the Cancel button and the property sheet is about to be destroyed. All changes made since the user last clicked the Apply Now button are canceled. This notification message is sent in the form of a WM_NOTIFY message.

lppsn
Address of a PSHNOTIFY structure that contains information about the notification. If this notification is in response to the Close button being pressed, the lParam member of this structure will contain a non-zero value. If this notification is in response to the Cancel button being pressed, the lParam member of this structure will contain zero. The hwndFrom member of the hdr member of this structure contains the handle to the property sheet.

An application can use this notification message as an opportunity to perform cleanup operations.

A page should not call the EndDialog function when processing this notification message.

The PSHNOTIFY structure is supplied with the PSN_RESET notification message. The lParam member in this structure is TRUE if the user clicked the OK or Cancel button and is FALSE if the user clicked the Close button.


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