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

Alexandre Julliard julliard at winehq.org
Wed Jul 20 12:54:41 CDT 2011


Module: wine
Branch: master
Commit: 328368cba29b75f202f4153faf7edfec7d20094b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=328368cba29b75f202f4153faf7edfec7d20094b

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Jul 18 07:16:59 2011 +0400

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

---

 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;
               }




More information about the wine-cvs mailing list