PSN_QUERYCANCEL (Compact 2013)

3/28/2014

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

Syntax

PSN_QUERYCANCEL lppsn = (LPPSHNOTIFY) lParam;

Parameters

  • lppsn
    Long pointer to a PSHNOTIFY structure that contains information about the notification.

Return Value

TRUE prevents the cancel operation. FALSE allows the cancel operation.

Remarks

The lParam member of this structure does not contain any information.

The PSHNOTIFY structure contains an NMHDR structure as its first member, hdr. The hwndFrom member of this NMHDR structure contains the handle to the property sheet.

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

Requirements

Header

prsht.h

See Also

Reference

Property Sheets Notifications
WM_NOTIFY
NMHDR
PSHNOTIFY