Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message notifies a page that the user has chosen the Cancelbutton and the property sheet is about to be destroyed. All changes made since the user last chose the Apply Nowbutton are canceled. It is sent in the form of a WM_NOTIFYmessage.

Syntax

PSN_RESET 
lppsn = (LPPSHNOTIFY) 
lParam;

Parameters

lppsn

Long pointer to a PSHNOTIFYstructure that contains information about the notification. If this message is in response to the Closebutton being pressed, the lParammember of this structure will contain a non-zero value. If this message is in response to the Cancelbutton being pressed, the lParammember 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 EndDialogfunction when processing this message.

The PSHNOTIFYstructure contains an NMHDRstructure as its first member, hdr. The hwndFrommember of this NMHDRstructure contains the handle to the property sheet.

Requirements

Header prsht.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also