Compartir a través de


PSN_QUERYCANCEL

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WM_NOTIFY
NMHDR
PSHNOTIFY