msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_ENABLE (1.2)
                                                      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