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
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
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
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
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
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
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
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