http://bugs.winehq.com/show_bug.cgi?id=1699
Summary: TreeView sending message to wrong window Product: Wine Version: 20030618 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gui AssignedTo: wine-bugs@winehq.com ReportedBy: igorg@cadlink.com
Treeview in application is sending WM_NOTIFY on double click (NM_DBLCLK) to the wrong window handle. With current code for CreateWindowEx in windows/win.c owner is set to "GetAncestor( cs->hwndParent, GA_ROOT )" and WM_NOTIFY goes to wrong window. If I change code so that owner is "WIN_GetFullHandle(cs-
hwndParent)" then there is problem with Z ordering (keeping popup window on
top) but WM_NOTIFY goes to Cview as it should.
However if I use --dll comctl32=n and owner is set to "GetAncestor( cs-
hwndParent, GA_ROOT )" everything works OK - popup is on top and CView
receives WM_NOTIFY from it.