[Bug 1699] New: TreeView sending message to wrong window
Wine Bugs
wine-bugs at winehq.com
Fri Sep 5 14:01:05 CDT 2003
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 at winehq.com
ReportedBy: igorg at 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.
--
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