[PATCH 1/4] Test that edit box is not multiline
Nikolay Sivov
nsivov at codeweavers.com
Sun Jul 17 22:16:59 CDT 2011
---
dlls/comctl32/tests/listview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 15a0b5d..a848575 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -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;
}
--
1.5.6.5
--------------000700060102040008080009--
More information about the wine-patches
mailing list