Commit Graph

109 Commits

Author SHA1 Message Date
Nikolay Sivov aa737174f0 user32/edit: Check for edit window to be here in case of destruction during handler execution. 2009-12-03 10:16:39 +01:00
Ilya Shpigor da9c52371e user32: Destroy EDITSTATE structure in the WM_NCDESTROY message processing. 2009-11-16 17:06:21 +01:00
Julius Schwartzenberg 8e899e0076 user32: Change extra value for standard edit class to 6.
Civilization II crashes when trying to display an edit box when this
value is anything other than six. It crashes in exactly the same way
on Windows XP 64-bit.
2009-10-22 14:35:58 +02:00
Nikolay Sivov e72ed1c421 user32/edit: Properly clean up on failure inside WM_NCCREATE handler. 2009-10-21 16:05:59 +02:00
Nikolay Sivov a60966068b user32/edit: Don't leak undo buffer. 2009-10-21 16:05:58 +02:00
Nikolay Sivov 0209b02f47 user32/edit: Invalidate if style changed after EM_SETREADONLY. 2009-09-22 16:24:37 +02:00
Michael Stefaniuc 3a7a0eb9dd user32: Remove a stray ';' that produces an empty if condition. 2009-08-27 11:45:37 +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
Nikolay Sivov 258d953a3f user32: Use 1 unit caret width for Edit control. 2009-03-05 12:48:08 +01:00
Francois Gouget 07b7da77d4 user32: Make EditWndProcW() static, fix its documentation. 2009-02-09 13:14:03 +01:00
Francois Gouget 9e7b55675d user32: Reorder some functions to avoid forward declarations in edit.c. 2009-02-09 13:13:55 +01:00
Francois Gouget 0e9695d9c8 user32: Remove unneeded forward declarations in edit.c. 2009-02-09 13:13:42 +01:00
Francois Gouget 31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Michael Stefaniuc fb11803d19 user32: Remove superfluous casts of void pointers. 2008-11-05 10:55:46 +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
Lei Zhang ec91536ec9 user32: Send messages for edit control context menu operations. 2008-10-15 14:02:04 +02:00
Hongbo Ni aaf67e9e73 user32: Implement WM_UNICHAR for edit control. 2008-07-29 14:09:23 +02:00
Andrew Talbot d8ce2207b8 user32: Remove unused variables. 2008-04-30 10:25:35 +02:00
Lei Zhang ae1b735547 user32: Edit controls should ignore WM_KEYDOWN on control + enter. 2008-04-25 14:53:47 +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
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alexandre Julliard fe4706940c user32: Remove redundant LocalUnlock calls. 2008-04-21 12:10:37 +02:00
Kusanagi Kouichi d79dff4e30 user32: Handle IME messages more gracefully. 2008-04-18 13:57:15 +02:00
Alexandre Julliard f4136deecb user32: Added support for WS_EX_RIGHT in the edit control. 2008-04-17 19:26:39 +02:00
Lei Zhang 483116a89e user32: Handle ctrl + end in edit control. 2008-04-15 14:34:35 +02:00
Lei Zhang dfdd9290a7 user32: Handle ctrl + home in edit control. 2008-04-15 14:34:28 +02:00
Lei Zhang 4aef5cb86d user32: Do checks in the right order in EDIT_BuildLineDefs_ML. 2008-04-15 14:34:18 +02:00
Lei Zhang 95f323ed46 user32: Handle VK_TAB in EDIT_WM_KeyDown. 2008-04-10 10:00:03 +02:00
Lei Zhang 5cc671eec5 user32: Fix a typo. 2008-04-09 21:00:54 +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 376e45429c user32: Correctly handle VK_RETURN for edit controls with ES_WANTRETURN style. 2008-04-03 11:27:21 +02:00
Lei Zhang 0fac05b977 user32: Handle WM_CHAR messages better in edit controls. 2008-03-28 09:50:14 +01:00
Lei Zhang 41ea8f0e8a user32: Tweak how the edit control handles WM_GETDLGCODE. 2008-03-26 12:09:36 +01:00
Marcus Meissner f09f03a723 user32: Handle error returns from ImmGetCompositionString. 2008-02-18 12:41:37 +01:00
Andrew Talbot 3dfaef3729 user32: Remove unneeded casts. 2008-01-22 11:27:51 +01:00
Gerald Pfeifer 29b8c35bbf user32: Factor in EDIT_WM_EraseBkGnd(). 2008-01-08 13:55:18 +01:00
Andrew Talbot 49c0bd5dd5 user32: Constify some variables. 2007-11-20 12:29:00 +01:00
Alexandre Julliard bfe88a00f8 user32: Store the builtin class names in Unicode. 2007-11-01 12:55:00 +01:00
Alex Busenius ca625836de user32: Fix segfault when combobox contains a longer text than buffer_limit. 2007-10-22 16:30:53 +02:00
Alex Villacís Lasso 48fd106ea1 user32: Fix EM_SETLIMITTEXT with zeroed args. 2007-10-18 14:10:47 +02:00
Lei Zhang 5079d20ffe user32: Edit control should respond to ctrl + z. 2007-09-13 13:36:23 +02:00
Nigel Liang c52ce9bccc winex11.drv: Implement XIMPreEditCaretCallback. 2007-07-20 11:58:35 +02:00
Lei Zhang 7dd98bb993 user32: Improve cut/copy/paste behavior of password edit boxes. 2007-06-14 13:54:34 +02:00
Dmitry Timoshkov 9a295e7f87 user32: Fix some compilation warnings in 64-bit mode. 2007-05-30 13:24:27 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Huw Davies 6a94516cc4 user32: Cache the text buffer length to avoid excessive calls to strlenW. 2007-04-20 13:05:05 +02:00
Huw Davies a0dbcb2595 user32: Add a function to return the length of the text buffer. 2007-04-20 13:04:57 +02:00
Huw Davies c79ce3cdbe user32: Keep track of whether the app has asked for the text buffer handle. 2007-04-20 13:04:53 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Dmitry Timoshkov b37b72b006 user32: Center the context menu if it was activated via VK_APPS like Windows does. 2006-12-15 12:20:23 +01:00
Andrew Talbot bc95bfd3c1 user32: Cast-qual warnings fix. 2006-11-20 11:24:25 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00