Re: comctl32: Make an attempt to update notification handle

2013-03-26 Thread Nikolay Sivov
On 3/27/2013 00:10, Daniel Jeliński wrote: 2013/3/26 Nikolay Sivov : Is there any reliable way to test send mouse messages? Cause it looks like if I send WM_LBUTTONDOWN directly it doesn't trigger tab selection code on windows, but works in wine. Do you want to figure out the correct sequence o

Re: comctl32: Make an attempt to update notification handle

2013-03-26 Thread Daniel Jeliński
2013/3/26 Nikolay Sivov : > Is there any reliable way to test send mouse messages? Cause it looks like > if I send WM_LBUTTONDOWN directly it doesn't trigger tab selection code on > windows, but works in wine. Do you want to figure out the correct sequence of messages or write tests for wine's tes

Re: comctl32: Make an attempt to update notification handle

2013-03-26 Thread Nikolay Sivov
On 3/25/2013 07:48, Dmitry Timoshkov wrote: Why not just call GetParent() every time when a notification is being sent? Because it won't work if you create a control without WS_CHILD. How is that different from the WM_WINDOWPOSCHANGING handler? How what is different? There's a check for nu

Re: comctl32: Make an attempt to update notification handle

2013-03-24 Thread Dmitry Timoshkov
Nikolay Sivov wrote: > +case WM_WINDOWPOSCHANGING: > +{ > + HWND parent = GetParent(hwnd); > + if (parent) infoPtr->hwndNotify = parent; > + return DefWindowProcW(hwnd, uMsg, wParam, lParam); > +} > >>> What if an application subclasses tab

Re: comctl32: Make an attempt to update notification handle

2013-03-24 Thread Nikolay Sivov
On 3/25/2013 07:34, Dmitry Timoshkov wrote: Nikolay Sivov wrote: +case WM_WINDOWPOSCHANGING: +{ + HWND parent = GetParent(hwnd); + if (parent) infoPtr->hwndNotify = parent; + return DefWindowProcW(hwnd, uMsg, wParam, lParam); +} What if an application subclasses tab

Re: comctl32: Make an attempt to update notification handle

2013-03-24 Thread Dmitry Timoshkov
Nikolay Sivov wrote: > >> +case WM_WINDOWPOSCHANGING: > >> +{ > >> + HWND parent = GetParent(hwnd); > >> + if (parent) infoPtr->hwndNotify = parent; > >> + return DefWindowProcW(hwnd, uMsg, wParam, lParam); > >> +} > > What if an application subclasses tab and doesn't p

Re: comctl32: Make an attempt to update notification handle

2013-03-24 Thread Nikolay Sivov
On 3/25/2013 07:24, Dmitry Timoshkov wrote: Nikolay Sivov wrote: +case WM_WINDOWPOSCHANGING: +{ + HWND parent = GetParent(hwnd); + if (parent) infoPtr->hwndNotify = parent; + return DefWindowProcW(hwnd, uMsg, wParam, lParam); +} What if an application subclasses tab

Re: comctl32: Make an attempt to update notification handle

2013-03-24 Thread Dmitry Timoshkov
Nikolay Sivov wrote: > +case WM_WINDOWPOSCHANGING: > +{ > + HWND parent = GetParent(hwnd); > + if (parent) infoPtr->hwndNotify = parent; > + return DefWindowProcW(hwnd, uMsg, wParam, lParam); > +} What if an application subclasses tab and doesn't pass WM_WINDOWPOSCHANG