Commit Graph

596 Commits

Author SHA1 Message Date
Dimitrie O. Paun a4273ca385 - Stop passing hwnd around when we're passing EDITSTATE.
- Merge the non-obsolete bits of EDIT.TODO into edit.c.
- Some cleanups, and simplifications.
2002-09-25 03:24:53 +00:00
Dmitry Timoshkov 472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard 034cacb79c Remove clearing of the window menu id for now. This will need more
work.
2002-09-17 18:40:39 +00:00
Francois Gouget bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Dimitrie O. Paun 8fce1a4c8e - Implement DFCS_TRANSPARENT.
- Fix indentation.
- Add remark about unimplemented DFC_POPUPMENU.
2002-09-09 19:22:40 +00:00
Michael Stefaniuc 2247af320d - Rename WIN_Handle16 to HWDN_16 and make it a macro.
- Prepare user.dll for the change of HWND to a void*.
2002-09-04 19:37:01 +00:00
Andreas Mohr 8578f01960 Make sure we clear the owning window's hMenu in DestroyMenu(). 2002-08-28 23:31:56 +00:00
Aric Stewart acb308af67 If we have no dropdown height give ourselves a minimum height of 5
items or max items (whichever is less).
2002-08-28 00:53:23 +00:00
Alexandre Julliard 0393d43c8e Fixed WM_GETTEXT handling to avoid strncpy and return correct lengths. 2002-08-28 00:40:17 +00:00
Michael Stefaniuc 4a75c5c6ea Convert HACCEL to a void*. 2002-08-28 00:39:39 +00:00
Zoltan Nagy 5b809fd6d7 Move caret when selecting a text area with the mouse. 2002-08-27 18:15:26 +00:00
Aric Stewart 2e0d8cfc76 Don't set EN_CHANGE at creation time. 2002-08-20 00:24:17 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard d376e64c35 Erase background when invalidating the selected text. 2002-08-16 23:21:51 +00:00
Aric Stewart 08e693965d Support large edit buffers for richedit control. 2002-08-16 01:41:32 +00:00
Alexandre Julliard 331bf3d77c Avoid trouble in WM_GETTEXT if specified length is larger than the
buffer (found by Carl Sopchak).
2002-08-15 23:28:45 +00:00
Duane Clark ff42c0174d On mouse down in thumb, issue SB_THUMBTRACK with current position.
On mouse up in thumb, issue SB_THUMBPOSITION followed by
SB_ENDSCROLL.
2002-08-03 00:13:48 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Carl Sopchak e833248d58 Return empty string on error in WM_GETTEXT. 2002-07-19 03:13:10 +00:00
Uwe Bonnes 72d827010c CBUpdateEdit: LB_GETTEXTLEN returns LB_ERR on error, not 0. 2002-07-10 23:11:28 +00:00
Alexandre Julliard ebed1b8745 ComboLBWndProc: fall through to ListBoxWndProc if the listbox is not a
ComboLBox.
2002-07-05 00:30:05 +00:00
Vincent Béron e35580f4c9 Fixed some various comparisons wrt signedness. 2002-06-21 22:25:17 +00:00
Alexandre Julliard 741325b86a Make sure edit and listbox controls are of same ASCII/Unicode style as
the combo box. Fixed a few MBCS issues with WM_GETTEXTLENGTH handling.
2002-06-13 19:20:43 +00:00
Andreas Mohr 957f1f98ef Only allow tabs in popup menus, and make sure to never display them. 2002-06-04 23:08:16 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Dmitry Timoshkov a081e2380f Clear an old button text in WM_SETTEXT as Windows does. 2002-05-20 18:21:29 +00:00
Alexandre Julliard 4344c368cb Got rid of GetSysColorPen. 2002-05-20 18:15:28 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Rizsanyi Zsolt 0026d78ed8 Disabled catching of mouse move events when not over menu.
Changed MENU_SelectItem allow EndMenu to deselect the selected menu.
2002-05-09 01:14:35 +00:00
Chuck Crayne ce2024ce42 - Recognize "\n" as an alternative soft line break in function
EDIT_BuildLineDefs_ML of edit.c.
- Major restructuring of richedit.c to provide bug fixes, enhanced
  function, and improved debug support.
2002-04-22 23:08:19 +00:00
Rizsanyi Zsolt 83d6efb761 Sending EN_UPDATE notification in the EDIT_WM_SetText - the comment
already says, that the message is sent, but it is not...
2002-04-11 17:30:22 +00:00
Dmitry Timoshkov aba60df415 Always erase background. 2002-04-09 01:34:48 +00:00
Dmitry Timoshkov 51cf0e34cf Added CS_PARENTDC style. 2002-04-08 23:46:32 +00:00
Dmitry Timoshkov 5076dbaabc Convert NULL menu items to separators. 2002-04-02 02:36:44 +00:00
Uwe Bonnes 6815f3a6fd MenuItemFromPoint: rough implementation. 2002-03-28 22:04:45 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Pouech ed792972d9 Fixed WM_SETFONT handling (no redraw made in some cases). 2002-02-26 00:37:28 +00:00
Phillip Ezolt 76198ce262 Fixed the scrollbar position overflows using MulDiv. 2002-02-19 18:36:55 +00:00
Alexandre Julliard c72a9aa83e CodeWeavers
Minor fixes.
2002-01-31 21:05:05 +00:00
Guy Albertelli bde5cf0bc2 Paint control immediately on WM_SETTEXT. 2002-01-31 21:02:17 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Rein Klazes 0e4cf6c083 Don't change button state on WM_MOUSEMOVE messages unless left mouse
button is pressed.
2002-01-15 20:27:30 +00:00
Rein Klazes 93ece68077 In CBPaintText use the text size as returned by LB_GETTEXT. The size
returned by LB_GETTEXTLEN may be too large.
2002-01-15 20:27:12 +00:00
Sander van Leeuwen 7ccd27a6d5 Check, Radio & 3State buttons send WM_CTLCOLORSTATIC instead of
WM_CTLCOLORBTN.
2002-01-04 21:26:20 +00:00
Alexandre Julliard cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
Bill Medland b153725988 For a radio button even if the initial style includes WS_TABSTOP the
first BM_SETCHECK 0 will clear it (even if the state was clear).
2001-12-11 00:16:23 +00:00
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Andreas Mohr 07216db627 EDIT_EM_LineLength called from within EDIT_EM_LineLength needs
starting line char index, not line index (== line number).
2001-11-13 21:29:38 +00:00