Share via


PSN_RESET (Compact 2013)

3/28/2014

This 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.

Syntax

PSN_RESET lppsn = (LPPSHNOTIFY) lParam;

Parameters

  • lppsn
    Long pointer to a PSHNOTIFY structure that contains information about the notification. If this message is in response to the Close button being pressed, the lParam member of this structure will contain a non-zero value. If this message is in response to the Cancel button being pressed, the lParam member of this structure will contain zero.

Return Value

None.

Remarks

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

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

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.

Requirements

Header

prsht.h

See Also

Reference

Property Sheets Notifications
EndDialog
SetWindowLong
WM_NOTIFY
NMHDR
PSHNOTIFY