PSN_QUERYCANCEL

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

PSN_QUERYCANCEL lppsn = (LPPSHNOTIFY) lParam;

Parameters

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

Return Values

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 notification message to ask the user to verify the cancel operation.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Prsht.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

WM_NOTIFY, NMHDR, PSHNOTIFY

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.