-
Bug
-
Resolution: Fixed
-
P1
-
1.1.3
-
1.1.4
-
x86
-
windows_nt
-
Verified
ingrid.yao@Eng 1997-07-30
In awt_Component.cpp some code has been added to the Window Procedure that
returns 0 on all messages, apart from a select few, when a window is not
visible. Unfortunately one of the messages that is returned is WM_NCACTIVATE
returning 0 on this message stops an invisible window from being activated/
inactived!
Solution:
Allow default window procedure to handle WM_NCACTIVATE and WM_ACTIVATE
Proposed Code Change (supplied by Jonathan Locke):
awt_Component.cpp line 481
if ((message != WM_SHOWWINDOW) &&
(message != WM_DESTROY) &&
(message != WM_ENABLE) &&
(message != WM_ACTIVATE) && **** Add this
(message != WM_NCACTIVATE) && **** Add this
(message != WM_SIZE) &&
(message != WM_AWT_QUEUE_SYNC) &&
(message != WM_AWT_COMPONENT_SHOW) &&
(message != WM_AWT_COMPONENT_ENABLE))