PSN_QUERYCANCELPSN_QUERYCANCEL*
*Contents  *Index  *Topic Contents
*Previous Topic: PSN_KILLACTIVE
*Next Topic: PSN_RESET

PSN_QUERYCANCEL


PSN_QUERYCANCEL 
    lppsn = (LPPSHNOTIFY) lParam; 

Indicates the user clicked the Cancel button. 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. The lParam member of this structure does not contain any information. The hwndFrom member of the hdr member of this structure contains the handle to the property sheet.

A property sheet page can use this notification message to ask the user to verify the cancel operation.

To set the return value, the dialog box procedure for the page must use the SetWindowLong function with the DWL_MSGRESULT value, and the dialog box procedure must return TRUE.


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