|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
WM_NCACTIVATE
The WM_NCACTIVATE message is sent to a window when its nonclient area needs to
be changed to indicate an active or inactive state.
WM_NCACTIVATE
fActive = (BOOL) wParam; // new state of the title bar or icon
Parameters
fActive
Value of wParam. Specifies when a title bar or icon needs to be changed to indicate an active
or inactive state. If an active title bar or icon is to be drawn, the fActive parameter is TRUE. It is FALSE for an inactive title bar or icon.
Return Values
When the fActive parameter is FALSE, an application should return TRUE to indicate that
Windows should proceed with the default processing, or it should return FALSE to
prevent the title bar or icon from being deactivated. When fActive is TRUE, the return value is ignored.
Default Action
The DefWindowProc function draws the title bar or icon title in its active colors when the fActive parameter is TRUE and in its inactive colors when fActive is FALSE.
See Also
DefWindowProc
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
|