Share 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

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winuser.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

EnableWindow

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.