Commit Graph

608 Commits

Author SHA1 Message Date
Chris Morgan 36595828c3 Remove ERR() if menu entry isn't of type MF_STRING as some
applications set flags of MT_SEPARATOR and erroneous errors are
produced.  Add a couple of comments.
2002-11-06 21:57:50 +00:00
Alexandre Julliard cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Patrik Stridvall c72255c715 Fixed some issues found by winapi_check. 2002-10-29 21:31:26 +00:00
Michael Stefaniuc 95591a6e90 Some fixes for the compilation of the user dll with -DSTRICT. 2002-10-28 20:11:40 +00:00
Michael Stefaniuc 61d92562b9 Silence some warnings due to casts between pointer and integers of
different size.
2002-10-19 00:52:55 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Steve Lustbader c15b0a2515 Provide a stub for GetComboBoxInfo. 2002-10-10 21:17:12 +00:00
Andrew M. Johnston 3fcf37a002 Make info structure members lower case as elsewhere. 2002-10-10 17:53:04 +00:00
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