Author: jimtabor
Date: Sat Aug 4 02:05:59 2012
New Revision: 57040
URL:
http://svn.reactos.org/svn/reactos?rev=57040&view=rev
Log:
[WineTest|User32|Msg] - Sync wine 1.5.10.
Modified:
trunk/rostests/winetests/user32/msg.c
Modified: trunk/rostests/winetests/user32/msg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/user32/msg.c?re…
==============================================================================
--- trunk/rostests/winetests/user32/msg.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/user32/msg.c [iso-8859-1] Sat Aug 4 02:05:59 2012
@@ -5720,6 +5720,21 @@
{ 0 }
};
+static const struct message WmSetPosComboSeq[] =
+{
+ { WM_WINDOWPOSCHANGING, sent },
+ { WM_NCCALCSIZE, sent|wparam, TRUE },
+ { WM_CHILDACTIVATE, sent },
+ { WM_WINDOWPOSCHANGED, sent },
+ { WM_MOVE, sent|defwinproc },
+ { WM_SIZE, sent|defwinproc|wparam, SIZE_RESTORED },
+ { WM_WINDOWPOSCHANGING, sent|defwinproc },
+ { WM_NCCALCSIZE, sent|defwinproc|wparam, TRUE },
+ { WM_WINDOWPOSCHANGED, sent|defwinproc },
+ { WM_SIZE, sent|defwinproc|wparam, SIZE_RESTORED },
+ { 0 }
+};
+
static WNDPROC old_combobox_proc;
static LRESULT CALLBACK combobox_hook_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
lParam)
@@ -5806,6 +5821,10 @@
SendMessage(combo, WM_KEYUP, VK_DOWN, 0);
log_all_parent_messages--;
ok_sequence(WmKeyDownComboSeq, "WM_KEYDOWN/VK_DOWN on a ComboBox", FALSE);
+
+ flush_sequence();
+ SetWindowPos(combo, 0, 10, 10, 120, 130, SWP_NOZORDER);
+ ok_sequence(WmSetPosComboSeq, "repositioning messages on a ComboBox",
FALSE);
DestroyWindow(combo);
DestroyWindow(parent);