Commit Graph

128 Commits

Author SHA1 Message Date
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Marcus Meissner 235d39cf9e Replaced %s by %p in EDIT_WM_SetText. 2000-07-15 15:12:38 +00:00
Serge Ivanov 9eedcf5852 - Removed dependency of edit control from combobox implementation.
- Edit control uses undocumented window style 0x0200 to detect is it a part
  of combobox. If so it calls GetDlgItem(hwndCombo, 1000) to get ComboLBox
  window handle (see comments for combo.c below).
- EDIT_CheckCombo - modified for correct handling of keyboard messages.
- Processing of WM_GETDLGCODE and WM_CHAR for VK_RETURN and VK_ESCAPE
  depends on whether listbox is dropped down. This prevents closing of dialog
  if listbox is dropped down and allows combobox to process these keyboard
  messages properly.
2000-06-07 03:47:34 +00:00
Alexandre Julliard d566a0e309 Serge Ivanov
Returning DLGC_WANTALLKEYS for multiline edit control was not good because
it breaks navigation in dialogs.
2000-05-30 20:50:09 +00:00
Alexandre Julliard fa2c79398d Henning Hoffmann
Don't send EN_CHANGE after painting the edit.
Send it wherever text is changed.
2000-05-26 01:24:56 +00:00
Ulrich Czekalla 70d5a95236 Moved the EN_UPDATE notification out of the paint handler. Instead,
the notification is sent when an InvalidateRect is made after
modifying the text.
2000-05-26 01:17:34 +00:00
Alexandre Julliard c616625945 Louis-Philippe Gagnon (of Macadamian Technologies for Corel)
Added event handler for WM_MBUTTONDOWN (sends WM_PASTE message).
2000-05-25 23:01:39 +00:00
Ulrich Czekalla c804e3eac4 Capture ^V,^X,^C and translate it to the corresponding message for
paste, cut, copy.
2000-05-23 21:16:07 +00:00
Andreas Mohr a8edb3e461 Some part of EDIT_EM_LineLength code was commented (broken). Restored
the capability to calculate the remaining non-selected chars of a
selection area.
2000-05-23 04:05:05 +00:00
Alexandre Julliard f5d4244f71 Sheri Steeves
The edit is now detected correctly if the parent is a combo box. It
wasn't working when the combobox was superclassed.
2000-05-18 00:16:53 +00:00
Susan Farley 86d0b031bb Handle ^C, ^V and ^X in an edit control properly. 2000-05-05 18:21:02 +00:00
Ove Kaaven b4018e7a57 Fix edit control's WM_GETTEXT behaviour. 2000-04-23 19:59:11 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Dmitry Timoshkov 0958a20725 Fix problem with EN_UPDATE notification sent by edit control. 1999-12-08 03:25:30 +00:00
Rein Klazes 077ec0cffd Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a
disabled edit control if the application expects a windows version
before WIN95 and NT40.
1999-11-10 19:55:29 +00:00
Stephane Lussier 5ca2ec4288 Return key should not be ignored in multiline edit even if
ES_WANTRETURN flag isn't set.
1999-09-27 11:45:07 +00:00
Pascal Lessard aed79e58c7 Implemented the behavior around the ES_WANTRETURN style in the edit
control.
1999-09-10 13:58:34 +00:00
Stephane Lussier cdb5650d1e Initialize the enabling state variable in the edit. 1999-09-04 14:27:50 +00:00
Pascal Lessard 3405f5c6cd The format rect is recalculated for each font change. MoveEnd &
MoveHome improved.
1999-09-04 10:59:07 +00:00
Stephane Lussier 93805344ee Keep the enable state in the edit structure instead of calling
IsWindowEnabled().
1999-09-03 16:37:00 +00:00
Pascal Lessard 6fe38e560e The backspace is now handled in the WM_CHAR message. 1999-09-03 15:02:48 +00:00
Gerard Patel 8e5c72e195 Implemented wParam of WM_PAINT msg for edit control. 1999-09-03 12:23:52 +00:00
Pascal Lessard dde4d61f5a EM_SETSEL scrolls if outside of the visible range.
"shift+home" selection improved in the edit control.
1999-08-15 16:30:11 +00:00
Francis Beaudet 06e8886ee8 Implemented proper win95 support for the WS_BORDER style. 1999-07-30 17:59:35 +00:00
Abey George 6e013e5c24 Fixed incorrect edit control behaviour in mouse message handling. 1999-07-27 17:08:26 +00:00
Gerard Patel 40ed511c86 Cancel pending notifications when EM_SETMODIFY is called. 1999-07-03 15:47:50 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard 9cbe067afa Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Draw a 3D border around edit controls when not in WIN31_LOOK.
1999-06-26 11:38:13 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Eric Pouech 8dde5a4fe4 Added missing WIN_ReleaseWndPtr. 1999-04-25 10:58:04 +00:00
Gerard Patel 3e60edfb04 Test for static was reversed. 1999-04-19 16:18:38 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Luc Tourangeau df5fbc75d1 Background color fix when disabled or read only. 1999-04-03 11:14:30 +00:00
Pavel Roskin dc75bd4038 EC_USEFONTINFO means es->char_width/3, not es->char_width. This is
true for multiline controls too, as my tests show.
1999-04-01 11:56:41 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Jeff Garzik c3e1f72bac Added missing string.h include. 1999-02-19 15:42:11 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Andreas Mohr 5f5213ade8 An app left junk in the undo buffer of an edit control upon creation. 1999-02-13 09:04:22 +00:00
Gerard Patel c9b6534154 Changed EDIT_EM_CharFromPos to return line number. 1999-01-24 18:57:23 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Pascal Cuoq 724f1900de 32-bit clipboard support. 1998-10-26 10:58:16 +00:00