PSN_KILLACTIVEPSN_KILLACTIVE*
*Contents  *Index  *Topic Contents
*Previous Topic: PSN_HELP
*Next Topic: PSN_QUERYCANCEL

PSN_KILLACTIVE


PSN_KILLACTIVE 
    lppsn = (LPPSHNOTIFY) lParam; 

Notifies a page that it is about to lose activation either because another page is being activated or the user has clicked the OK button. This notification message is sent in the form of a WM_NOTIFY message.

lppsn
Address of a PSHNOTIFY structure that contains information about the notification. The lParam member of this structure does not contain any information. The hwndFrom member of the hdr member of this structure contains the handle to the property sheet.

An application should validate the information the user has typed.

To set the return value, the dialog box procedure for the page must use the SetWindowLong function with the DWL_MSGRESULT value, and the dialog box procedure must return TRUE.

If the dialog box procedure sets DWL_MSGRESULT to TRUE, it should display a message box to explain the problem to the user.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.