2 Jul
2012
2 Jul
'12
9:57 a.m.
Sergey Guralnik <serhio(a)etersoft.ru> writes:
@@ -5807,6 +5814,13 @@ static void test_combobox_messages(void) log_all_parent_messages--; ok_sequence(WmKeyDownComboSeq, "WM_KEYDOWN/VK_DOWN on a ComboBox", FALSE);
+ SetWindowLongPtr(combo, GWLP_WNDPROC, (LONG_PTR)combobox_hook_proc_2); + SendMessage(combo, CB_SETCURSEL, 0, 0); + SetWindowPos(combo, 0, 0, 0, 120, 130, SWP_NOZORDER|SWP_NOMOVE); + ret = SendMessage(combo, CB_GETCURSEL, 0, 0); +todo_wine + ok(ret == 1, "expected 1, got %ld\n", ret); +
There's no reason to test just WM_SIZE when we have support for testing full sequences. Once again, what are you trying to test? -- Alexandre Julliard julliard(a)winehq.org