Commit Graph

33 Commits

Author SHA1 Message Date
Huw Davies 0d0bfa4cce user32: The hiword of the return value from LB_ITEMFROMPOINT should be
a hittest on the item that's returned and not a hittest on the client
area as MSDN states.
2006-10-30 11:16:39 +01:00
Alexandre Julliard 7d8ef2e19e user32: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:42 +02:00
Michael Stefaniuc 3c60ce8525 user: Win64 printf format warning fixes. 2006-10-02 14:28:59 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
qingdoa daoo 7c34bfab20 user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style. 2006-06-02 11:45:43 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack abf3a570af user: The height of a ListBox item can be no more than MAXBYTE. 2006-03-09 12:51:10 +01:00
Dmitry Timoshkov b43afeef89 Add a test for LB_SELITEMRANGE, make it pass under Wine. 2005-12-01 11:12:34 +01:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Dmitry Timoshkov 26b40c296f Add some missing USER definitions, add a couple of FIXMEs for not
implemented features.
2005-10-27 18:28:23 +00:00
Alexandre Julliard 556a129afa Avoid truncating the item data to 32 bits in LB_SETITEMDATA. 2005-09-12 15:36:39 +00:00
Alexandre Julliard 5c37785881 Use Get/SetWindowLongPtr when accessing pointers in the window extra
bytes.
2005-09-12 12:20:38 +00:00
Alexandre Julliard 2c1b3c6a1d The item user data has to be a ULONG_PTR. 2005-09-12 11:24:23 +00:00
Jason Edmeades 34db84e1da Listbox delete string handling should validate the range of the
index. Added some tests.
2005-08-27 09:24:14 +00:00
Francois Gouget ae7a646f8e The listbox test shows that the control id must be stored in WPARAM
for the WM_DRAWITEM message.
Fix the listbox test so CreateWindow() does not fail on Windows.
2005-08-08 11:02:54 +00:00
Dmitry Timoshkov c2fe2f0f5b - Add an ownerdrawn listbox test, which confirms that on WM_DRAWITEM
parent receives a clipbox equal to a listbox's client area.
- WM_DRAWITEM message contains 0 in wparam (at least on win2k).
2005-07-29 14:42:19 +00:00
Robert Shearman 30ff940a68 Call SetLastError on errors. 2005-07-12 18:11:40 +00:00
Robert Shearman 7dd1d21132 - Implement LB_SETLOCALE.
- Remove incorrect FIXMEs for LB_USETABSTOPS.
2005-07-12 17:55:35 +00:00
Robert Shearman 630c6ea6fd The units passed into LB_SETTABSTOPS are dialog units, not logical
units.
2005-07-11 14:22:36 +00:00
Mike McCormack 5c1ffddb88 Fix declarations, remove unused code. 2005-06-22 18:05:02 +00:00
Alexandre Julliard 6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Maxime Bellengé 64a429671a Reverse the order for deleting the items in resetcontent to correctly
empty a comboboxex.
2005-02-21 18:31:02 +00:00
Lauri Tulmin 31b894d07c Add test for LB_SELITEMRANGE and make it pass. 2005-02-02 19:10:59 +00:00
Lauri Tulmin d3cc4dcd05 Fixes to the handling of LBS_EXTENDEDSEL style, with tests. 2005-01-10 16:22:33 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Dimitrie O. Paun e89adaa84c Move the hwnd self into the listbox LB_DESCR struct.
Use proper types/names in all cases.
Fix some bad indentation.
2004-10-26 22:03:00 +00:00
Dimitrie O. Paun 134560e9e5 Implement LBS_COMBOBOX, and make use of it.
Better separation between the Listbox and Combobox.
Have a single set of wndprocs, just like Windows.
2004-10-18 21:22:44 +00:00
Dimitrie O. Paun d0c950c808 Audit the listbox control.
Fix some indentation problems.
2004-10-11 19:51:16 +00:00
Jon Griffiths 7a9e800566 Draw background of the empty selected item in empty lists.
Don't draw a focus rect if we dont have the focus.
Don't select items on key up/down in multi-select lists.
Handle LBS_NOSEL correctly, fix remaining todo_wine tests.
2004-10-05 22:31:00 +00:00
Alexandre Julliard 2ceb42dd43 Moved all files from the controls/ directory to dlls/user. 2004-08-31 01:10:08 +00:00