Commit Graph

65 Commits

Author SHA1 Message Date
Akihiro Sagawa 6b616a0fd8 user32: Emit EM_SETSEL message when choosing "Select All" from context menu. 2014-04-08 09:25:15 +02:00
Akihiro Sagawa 0bfc8f05c6 user32: Don't emit WM_COMMAND on choosing an item in a context menu (Edit control). 2014-04-08 09:25:06 +02:00
Akihiro Sagawa 1ba63827f2 user32/tests: Add some tests for edit control context menu messages. 2014-04-08 09:24:47 +02:00
Akihiro Sagawa 0815386430 user32/tests: Don't forget to destroy the parent window after the tests. 2014-04-08 09:24:40 +02:00
Nikolay Sivov ba3a6d1f4b user32: Fix Edit margins calculation for empty client area case. 2014-04-07 09:58:02 +02:00
Frédéric Delanoy bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Dmitry Timoshkov 0e42a41ab3 user32/tests: Fix edit control tests compilation with __WINESRC__ defined. 2013-10-23 17:01:47 +02:00
Francois Gouget 653354ab25 Assorted spelling fixes. 2013-07-03 21:20:04 +02:00
Detlef Riekenberg caf1bbba94 user32/tests: Add tests for EM_GETHANDLE. 2013-05-17 16:59:20 +02:00
Piotr Caban 1128546437 user32/tests: Added GetMenuBarInfo tests. 2012-05-16 20:27:21 +02:00
Alexandre Julliard 03820a527b user32: Fix some printf format warnings. 2012-01-17 15:02:51 +01:00
Michael Stefaniuc 8cd1d5839f user32/tests: Drop superfluous function pointer casts. 2011-11-21 11:51:12 +01:00
Francois Gouget 03d4ef95ec user32/tests: Add a trailing '\n' to an ok() call. 2011-09-09 13:38:27 +02:00
Bruno Jesus 2b6f0b9af7 user32/tests: Add SetCaretPos/GetCaretPos tests. 2011-09-08 20:08:06 +02:00
Austin English 5e941f89c2 user32/tests: Remove win9x hacks. 2011-07-28 19:57:32 +02:00
Marcus Meissner b0b77d4ba9 user32: Fixed some more side effect functions in assert() (Coverity). 2011-02-25 14:47:50 +01:00
Greg Geldorp 0406b5d543 user32/tests: Fix edit tests. 2011-01-24 14:43:26 +01:00
Gerald Pfeifer 9da2bbfab7 user32/tests: Remove variable old_left_margin which is not really used from test_margins. 2010-05-04 18:38:43 +02:00
Paul Vriens 1b50493ba6 user32/tests: Run the tests again on Win95. 2010-05-03 13:57:17 +02:00
Vincent Povirk a5fd32eb84 user32: Focus editboxes when the context menu is opened. 2010-04-25 07:38:10 -05:00
David Hedberg 5a1f8c57a8 user32: Fix case where EM_SCROLL with page down results in trying to scroll up past the beginning. 2010-03-03 14:01:58 +01:00
David Hedberg 598052b4ad user32: Fix return value of EDIT_EM_Scroll. 2010-03-03 14:01:50 +01:00
Jason Edmeades 0641192b52 user32/tests: Combo should preselect all text on first WM_SETFOCUS. 2010-01-25 18:05:03 +01:00
Michael Stefaniuc 7e2b624896 user32/tests: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:13 +01:00
Michael Stefaniuc 6c7c2401ad user32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:25 +01:00
Ilya Shpigor da9c52371e user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing. 2009-11-16 17:06:21 +01:00
Sergey Khodych aa8129a338 user32/tests: Fix a typo. 2009-09-01 17:36:56 +02:00
Sergey Khodych 205a7f7f03 user32: edit: Improve handling of WM_KEYDOWN VK_RETURN in a dialog mode. 2009-08-26 16:38:03 +02:00
Sergey Khodych d4707dbb60 user32: edit: Improve handling of WM_KEYDOWN VK_TAB in a dialog mode. 2009-08-26 16:37:12 +02:00
Sergey Khodych 3b6ea11481 user32: edit: Improve handling of WM_KEYDOWN VK_ESCAPE in a dialog mode. 2009-08-26 16:37:05 +02:00
Sergey Khodych 6fa48cdd91 user32: edit: Use a dialog mode after receiving WM_GETDLGCODE message.
Tests show that the edit control uses a dialog mode after receiving 
WM_GETDLGCODE message and it doesn't depend on whether the edit control 
has a parent window.
2009-08-26 16:36:50 +02:00
Francois Gouget 8a46d0eaf5 Assorted spelling fixes. 2009-05-04 12:53:29 +02:00
Rein Klazes 3e7f226985 user32/tests: Fix a test in edit.c that was not testing what it was supposed to test. 2009-05-01 13:14:11 +02:00
Michael Stefaniuc 69680296ee user32/tests: Don't use the long type. 2009-04-22 13:13:51 +02:00
Michael Stefaniuc e202baabd5 user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR. 2009-01-13 15:26:11 +01:00
Francois Gouget 803555927c user32/tests: Make some functions static. 2008-12-12 11:42:34 +01:00
Alexandre Julliard 2032da7d42 user32/tests: Fix the edit margins tests on Win9x. 2008-11-20 18:21:38 +01:00
Aric Stewart 7b9e827a75 user32: Make sure our vertical line count is at least 1 even if there is an oversized font in the edit control. 2008-10-15 16:45:56 +02:00
Erik de Castro Lopo 56797f9c65 user32/tests: Use SetWindowLongPtr instead of SetWindowLong. 2008-04-25 11:34:49 +02:00
Lei Zhang 2f0b111243 user32: Handle VK_RETURN WM_KEYDOWN events better in edit controls.
Elias Benali wrote the initial version of this patch.
2008-04-24 11:52:22 +02:00
Lei Zhang 1e5faee29e user32: Add a test for sending WM_KEYDOWN to a child edit control. 2008-04-24 11:51:34 +02:00
Lei Zhang b7ffa86725 user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_TAB. 2008-04-09 21:00:45 +02:00
Lei Zhang f704d5c699 user32: Add edit control check to see if its in a dialog on WM_CHAR/VK_RETURN. 2008-04-09 21:00:23 +02:00
Lei Zhang 6736ed82ed user32: Handle VK_ESCAPE correctly in EDIT_WM_KeyDown. 2008-04-08 12:18:38 +02:00
Lei Zhang 7f10fe0744 user32: Handle ES_MULTILINE correctly for WM_KEYDOWN/VK_RETURN. 2008-04-08 12:18:18 +02:00
Lei Zhang c8a4bb8fff user32: Fix WM_CHAR return value for edit controls. 2008-04-08 12:18:05 +02:00
Lei Zhang 42d32aba02 user32: Add tests for edit controls and VK_TAB. 2008-04-08 12:17:54 +02:00
Lei Zhang d1abf27f8d user32: Add tests for edit controls and VK_RETURN. 2008-04-08 12:17:43 +02:00
Lei Zhang e91de39521 user32: Add more tests for single line edit control inside a dialog. 2008-04-08 12:17:28 +02:00
Lei Zhang 8cf7eef073 user32: Add more tests for ES_WANTRETURN. 2008-04-08 12:17:13 +02:00