Compartir a través de


PSN_RESET (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Property Sheets Notifications
EndDialog
SetWindowLong
WM_NOTIFY
NMHDR
PSHNOTIFY