Partager via


WM_ENABLE

This message is 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 — the WS_DISABLED style bit — of the window has changed.

WM_ENABLE fEnabled = (BOOL) wParam;

Parameters

  • fEnabled
    Boolean value that specifies whether the window has been enabled or disabled. Set to TRUE if the window has been enabled, or to FALSE if the window has been disabled.

Return Values

An application should return zero if it processes this message.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

Windows Messages | EnableWindow

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.