Prev Next

PSN_QUERYCANCEL Overview  Group

The PSN_QUERYCANCEL notification message indicates that the user chose the Cancel button. This notification message is sent in the form of a WM_NOTIFY message.

PSN_QUERYCANCEL 

lpnmhdr = (NMHDR FAR *) lParam; 

 

Parameters

lpnmhdr
Pointer to an NMHDR structure. The hwndFrom member is the handle of the property sheet.

Return Values

Returns TRUE to prevent the cancel operation or FALSE to allow it.

Remarks

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

See Also

NMHDR, WM_NOTIFY