|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| prsht.h
| Unicode
| No
| Platform Notes
| None
|
|
|
PSN_KILLACTIVE
The PSN_KILLACTIVE notification message notifies a page that it is about to
lose the activation either because another page is being activated or the user
has chosen the OK button. This notification message is sent in the form of a WM_NOTIFY message.
PSN_KILLACTIVE
lpnmhdr = (NMHDR FAR *) lParam;
Parameters
lpnmhdr
Pointer to an NMHDR structure. The hwndFrom member is the handle to the property sheet.
Return Values
Returns TRUE to prevent the page from losing the activation or FALSE to allow
it.
Remarks
An application should validate the information that 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.
See Also
SetWindowLong, NMHDR, WM_NOTIFY
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|