◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINMESSAGEMGR WM_ENABLE fEnable = SHORT1FROMMP(mp1); /* enable flag */ The WM_ENABLE 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 always sent before the WinEnableWindow function returns, but after the window enabled state (WS_DISABLED style bit) has changed. Parameter Description ──────────────────────────────────────────────────────────────────────────── fEnable Low word of mp1. Specifies whether the window is being enabled or disabled. A value of TRUE means the window is being enabled; FALSE means the window is being disabled. Return Value An application should return zero if it processes this message. See Also WinEnableWindow ♦