WM_ENABLE message
Applies to: desktop apps only
Sent when an application changes the enabled state of a window. It is sent to the window whose enabled state is changing. This message is sent before the EnableWindow function returns, but after the enabled state (WS_DISABLED style bit) of the window has changed.
A window receives this message through its WindowProc function.
#define WM_ENABLE 0x000A
Parameters
- wParam
-
Indicates whether the window has been enabled or disabled. This parameter is TRUE if the window has been enabled or FALSE if the window has been disabled.
- lParam
-
This parameter is not used.
Return value
Type: LRESULT
If an application processes this message, it should return zero.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
See also
- Reference
- EnableWindow
- Conceptual
- Windows
Send comments about this topic to Microsoft
Build date: 2/3/2012