[Bug 1699] TreeView sending message to wrong window
Igor Grahek
igorg at cadlink.com
Mon Sep 8 16:07:16 CDT 2003
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.
Igor
> -----Original Message-----
> From: Wine Bugs [mailto:wine-bugs at winehq.com]
> Sent: September 8, 2003 4:47 PM
> To: igorg at cadlink.com
> Subject: [Bug 1699] TreeView sending message to wrong window
>
>
> http://bugs.winehq.com/show_bug.cgi?id=1699
>
>
>
>
>
> ------- Additional Comments From Speeddymon at yahoo.com
> 2003-08-09 15:47 -------
> > 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.
>
> What happens with --dll comctl32=n and owner set to
> WIN_GetFullHandle(cs->hwndParent)?
>
> I would think the same because comctl32=n sets it to use
> native, so it wouldnt
> use any of our code.. I think the relevant part is just the
> fact that
> getancestor is causing it to do one thing that doesnt work
> the way it should
> while win_getfullhandle is causing it to do another thing
> that doesnt quite
> work the way it should either..
>
> --
> Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
More information about the wine-bugs
mailing list