Commit Graph

637 Commits

Author SHA1 Message Date
Achim Kaiser 6d3ce418be Take font metrics into account for EC_USEFONTINFO margins. 2003-05-06 18:23:17 +00:00
Maxime Bellengé 7ba2a371d3 - Fix some indentation problems.
- Handle correctly the alignement of the checkboxes if the
  BS_TOP/BS_BOTTOM flags are set.
2003-04-30 23:57:43 +00:00
Brad Campbell 4ba690e620 EM_REPLACESTR was not respecting buffer_limit. 2003-04-27 00:32:22 +00:00
Alexandre Julliard b650372b86 Don't bother sending WM_NCCREATE to the desktop window, this doesn't
work anyway (spotted by Uwe Bonnes).
2003-04-19 21:27:19 +00:00
Rein Klazes 26b2e89812 Compare the two items in LISTBOX_FindStringPos() in the same order as
in Windows.
2003-04-08 19:41:52 +00:00
Alexandre Julliard 98bcdf9e5d Revert broken change to the scrollbar position adjustment code. 2003-03-24 19:36:17 +00:00
Tony Lambregts 2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Andrew Johnston 7b56b79f74 Move keyboard event processing from WndProc code into the existing
helper.
Create a helper function for the create event and clean up code.
Remove macro for detecting invalid SCROLLINFO structures and make it
an inline function.
2003-03-07 23:08:38 +00:00
Adam Gundy 6199e6029a Allow modifying a menu string to be NULL. 2003-03-07 23:03:27 +00:00
Andrew Johnston 7277d20c69 - GetScrollRange zeros the return parameters for no infoPtr
- GetScrollRange, GetScrollPos and GetScrollInfo send a message to the
  window for the SB_CTL case
- Moved code for GetScroll* to into worker functions
2003-03-07 20:38:20 +00:00
Tony Lambregts 6dc4cb4b7a Janitorial. Get rid of W->A call. 2003-03-04 02:14:58 +00:00
Alexandre Julliard 7e92c9af7b Replaced most uses of the auto-generated glue code by explicit calls
to WOWCallback16Ex.
2003-02-27 21:09:45 +00:00
Alexandre Julliard 6356a44160 Authors: Sander van Leeuwen <sandervl@xs4all.nl>, Dietrich Teickner <Dietrich_Teickner@t-online.de>
- Fixed incorrect undo buffer size (previous code caused heap
  corruption when using backspace many times).
- Always kill timer when left mouse button is released and in captured
  state.
2003-02-19 22:04:03 +00:00
Alexandre Julliard 27fba89d03 Removed flag checks in SetMenuItemInfoA, NT doesn't do this. 2003-01-16 01:17:34 +00:00
Mike Hearn ac8e75284a Fail SetMenuItemInfo if both MFT_BITMAP and MFT_SEPARATOR are
specified (an api violation).
2003-01-15 00:51:38 +00:00
Alberto Massari bf9390e7d2 Handle the WS_EX_LEFTSCROLLBAR style (that is, draw the vertical
scrollbar on the left side of the control).
2003-01-14 23:41:01 +00:00
Robert Shearman 9caa6bafc0 Move internal implementation into the exported function
DrawMenuBarTemp.
2003-01-14 19:28:49 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Duane Clark a3b5780491 Need to initialize tracking value on mousedown. 2002-12-17 21:00:11 +00:00
Alberto Massari 3d60c63adf Set the ODS_DISABLED bit when the item is grayed. 2002-12-17 04:16:31 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Robert Shearman bcca0cb395 Add support for painting SBS_SIZEBOX style properly. 2002-11-25 01:09:24 +00:00
Alexandre Julliard 101c430957 Fixed use of HBMMENU_* in switch statements. 2002-11-22 22:25:59 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Carl Sopchak 23b88efeeb Ignore buffer limit on WM_SETTEXT. 2002-11-21 03:57:05 +00:00
Aric Stewart bec403f6df Fixed a bug with combo boxes where only 1 items was being displayed. 2002-11-13 21:18:32 +00:00
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