PSN_RESET

This notification message notifies a page that the user has chosen the Cancel button and the property sheet is about to be destroyed. All changes made since the user last chose the Apply Now button are canceled. 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_RESET lpnmhdr = (NMHDR FAR *) lParam;

Parameters

lppsn

Long pointer to a PSHNOTIFY structure that contains information about the notification. If this notification is in response to the Close button being pressed, the lParam member of this structure will contain a non-zero value. If this notification is in response to the Cancel button being pressed, the lParam member of this structure will contain zero. The hwndFrom member of the hdr member of this structure contains the handle to the property sheet.

Return Values

None.

Remarks

An application can use this notification message as an opportunity to perform cleanup operations.

A page should not call the EndDialog function when processing this notification message.

See Also

EndDialog, NMHDR, SetWindowLong