다음을 통해 공유


PSN_QUERYCANCEL (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Property Sheets Notifications
WM_NOTIFY
NMHDR
PSHNOTIFY