comctl32/tests: Test that edit box is not multiline.

This commit is contained in:
Nikolay Sivov 2011-07-18 07:16:59 +04:00 committed by Alexandre Julliard
parent f99a2748e4
commit 328368cba2
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ static LRESULT WINAPI parent_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LP
/* edit control still available from this notification */
edit = (HWND)SendMessageA(((NMHDR*)lParam)->hwndFrom, LVM_GETEDITCONTROL, 0, 0);
ok(IsWindow(edit), "expected valid edit control handle\n");
ok((GetWindowLongA(edit, GWL_STYLE) & ES_MULTILINE) == 0, "edit is multiline\n");
return TRUE;
}