PSN_QUERYCANCEL

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

At a Glance

Header file: Prsht.h
Windows CE versions: 1.0 and later

Syntax

PSN_QUERYCANCEL lpnmhdr = (NMHDR FAR *) lParam;

Parameters

lppsn

Long pointer to a PSHNOTIFY structure that contains information about the notification. The lParam member of this structure does not contain any information. The i member of the hdr member of this structure contains the handle to the property sheet.

Return Values

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

Remarks

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