Alexandre Julliard 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?
I only try to test that combobox should send WM_SIZE to it's wndproc during WM_WINDOWPOSCHANGED handling.
-- Sergey
Sergey Guralnik serhio@etersoft.ru writes:
Alexandre Julliard writes:
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?
I only try to test that combobox should send WM_SIZE to it's wndproc during WM_WINDOWPOSCHANGED handling.
Then just do a SetWindowPos and test the message sequence. There are plenty of examples in that file.