comctl32/tests: Test that edit box is not multiline.
This commit is contained in:
parent
f99a2748e4
commit
328368cba2
|
@ -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 control still available from this notification */
|
||||||
edit = (HWND)SendMessageA(((NMHDR*)lParam)->hwndFrom, LVM_GETEDITCONTROL, 0, 0);
|
edit = (HWND)SendMessageA(((NMHDR*)lParam)->hwndFrom, LVM_GETEDITCONTROL, 0, 0);
|
||||||
ok(IsWindow(edit), "expected valid edit control handle\n");
|
ok(IsWindow(edit), "expected valid edit control handle\n");
|
||||||
|
ok((GetWindowLongA(edit, GWL_STYLE) & ES_MULTILINE) == 0, "edit is multiline\n");
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue