PSN_RESET

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.

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Prsht.h.

See Also

EndDialog | SetWindowLong | WM_NOTIFY | NMHDR | PSHNOTIFY

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.