user32: Add test for ComboBox repositioning behavior (try 2).

Sergey Guralnik serhio at etersoft.ru
Tue Jul 3 00:28:53 CDT 2012


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



More information about the wine-devel mailing list