Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1
-
Resolution: Fixed
-
Affects Version/s: 1.1.3
-
Fix Version/s: 1.1.4
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:1.1.4
-
CPU:x86
-
OS:windows_nt
-
Verification:Verified
Description
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))