PSN_RESET notification code

Notifies a page that the property sheet is about to be destroyed. This notification code is sent in the form of a WM_NOTIFY message.

PSN_RESET 

    lppsn = (LPPSHNOTIFY) lParam;

Parameters

lParam

Pointer to a PSHNOTIFY structure that contains information about the notification code.

Return value

No return value.

Remarks

All changes made since the last PSN_APPLY notification code are canceled, except in the case of PSH_AEROWIZARD, which does not support that notification code.

The lParam member of the PSHNOTIFY structure pointed to by lParam will be set to TRUE if the user clicked the X button in the upper-right corner of the property sheet. It will be FALSE if the user clicked the Cancel button. 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.

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

Note

The property sheet is in the process of manipulating the list of pages when the PSN_RESET notification code is sent. Do not attempt to add, remove, or insert pages while handling this notification code. Doing so will have unpredictable results.

Do not call the EndDialog function when processing this notification code.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Prsht.h