[Bug 1699] TreeView sending message to wrong window

Wine Bugs wine-bugs at winehq.com
Mon Sep 8 16:11:34 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1699


igorg at cadlink.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From igorg at cadlink.com  2003-08-09 16:11 -------
Solved !

Problem was in TreeView control (dll/comctl32/treeview.c) all the time. 
TreeView was not handling WM_CREATE properly - it did not forward CREATESTRUCT 
(in lParam) to TREEVIEW_Create function and that function was setting 
hwndNotify window to GetParent(hwnd) instead window handle given in 
CREATESTRUCT.

I fixed this for TreeView control (patch sent to wine-patches) but same problem 
can be expected for other controls which use WS_POPUP style and then set notify 
window handler to GetParent(hwnd)

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list