Commit Graph

43 Commits

Author SHA1 Message Date
Michael Stefaniuc 79147c8658 user32: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:46 +02:00
Michael Stefaniuc e13011f63e user32: Simplify a RECT copy.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 19:59:31 +09:00
Alex Henrie 5b53c0b88b user32: Avoid double initialization.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-06 21:59:08 +09:00
Joachim Priesner 175e714656 user32: Hide horizontal Listbox scroll bar if no horizontal extent is set.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
2015-10-07 21:28:55 +09:00
Alex Henrie 5caa651732 user32: Scroll listbox item completely into view on LB_SETCURSEL. 2015-07-17 16:34:03 +09:00
Alex Henrie f612553694 user32: Simplify if-else statement. 2015-07-17 16:33:50 +09:00
Andrew Eikum cb1242a8f2 user32: Only update listbox horizontal scroll info if WS_HSCROLL is set. 2014-04-28 18:25:02 +02:00
Andrew Eikum c4a28490f3 user32: Allow setting horizontal extent even without WS_HSCROLL. 2014-04-24 11:37:13 +02:00
Huw Davies fb298aed04 user32: If the listbox loses focus while holding capture, release it by essentially simulating a button up event. 2014-02-20 13:58:32 +01:00
Nikolay Sivov 8f7779fc3b user32: Implement GetListBoxInfo(). 2013-05-07 20:07:41 +02:00
Huw Davies 698c7f0f3f user32: Invalidate the listbox in LB_SETCOUNT. 2013-03-28 18:53:57 +01:00
Ken Thomases f42cfc04eb user32: Improve mouse wheel scrolling in listbox control.
Allow fractions of WHEEL_DELTA to scroll fractions of SPI_GETWHEELSCROLLLINES,
although still only whole lines.  Keep the remainder and apply it to next
event if in same direction.
2013-02-11 11:46:09 +01:00
Daniel Jelinski 39222f6ab7 user32: Always call ScrollWindowEx in the listbox WM_VSCROLL handler. 2012-12-13 20:15:35 +01:00
Michael Stefaniuc 4affaea0ba user32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:51 +02:00
Alexandre Julliard 0f90053575 user32: Add a common helper to set controls clip region, and make it behave correctly when mirrored. 2010-09-02 11:35:14 +02:00
Michael Stefaniuc 48e36e43dd user32: Remove redundant not NULL check of variable item (coccicheck). 2010-05-18 18:42:07 +02:00
Alexandre Julliard 537877adae user32: Move handling of listbox sizes for Win 3.1 apps to the 16-bit code. 2009-12-24 21:09:17 +01:00
Alexandre Julliard 8aa83d326a user32: Make user.exe into a stand-alone 16-bit module. 2009-12-24 12:15:12 +01:00
Alexandre Julliard d081a7352c user32: Simplify window procedure allocation for the builtin classes. 2009-12-18 12:39:13 +01:00
Alexandre Julliard c0f3f5a1d2 user32: Pre-allocate the window procedure for the listbox class. 2009-12-17 13:09:50 +01:00
Alexandre Julliard 9f12c730e1 user32: Turn the listbox winproc into a Wow handler. 2009-12-15 16:09:13 +01:00
Alexandre Julliard 8b226ac4d6 user32: Split the handling of the 16-bit messages out of the listbox winproc. 2009-12-13 12:13:06 +01:00
Dmitry Timoshkov c293a535c0 user32: Invalidate a being removed listbox item before deleting it as it's been done before d2ecb11941. 2009-05-19 11:58:53 +02:00
Dmitry Timoshkov d2ecb11941 user32: Add the tests for LB_DELETESTRING, make them pass under Wine. 2009-04-29 13:07:52 +02:00
Michael Stefaniuc 214b40b109 user32: Remove superfluous pointer casts. 2009-03-02 12:11:38 +01:00
Francois Gouget 31df4d42b7 user32: Remove WINAPI/CALLBACK on static functions where not needed. 2008-11-25 11:50:00 +01:00
Juan Lang 1a5374065f user32: Return error if memory allocation fails. Fixes Coverity id 115. 2008-09-11 11:44:15 +02:00
Alexandre Julliard f39d39e35f user32: Add an exception handler around LB_GETTEXT to hide a Delphi bug. 2008-05-02 11:41:49 +02:00
Dmitry Timoshkov 29565d558f user32: Fix Win64 warnings. 2008-04-11 12:11:33 +02:00
Dmitry Timoshkov 113f2c9dbb user32: Add a test for combobox navigation with arrow keys, make it pass under Wine. 2008-03-27 11:06:02 +01:00
Lei Zhang 6c1cdc7186 user32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Andrew Talbot 7a8eb4c599 user32: Constify some variables. 2007-11-21 13:23:50 +01:00
Alex Villacís Lasso 873799df24 user32: Fix returned value of LB_DIR. 2007-11-14 13:04:44 +01:00
Alexandre Julliard bfe88a00f8 user32: Store the builtin class names in Unicode. 2007-11-01 12:55:00 +01:00
Dmitry Timoshkov 566ce8f5ed user32: Add more listbox message tests, make them pass under Wine. 2007-10-18 14:09:42 +02:00
Dmitry Timoshkov 5a218e97af user32: Add a message test for ownerdrawn listbox, make it pass under Wine. 2007-10-02 13:31:46 +02:00
Steven Edwards a725826ada user32: Remove some no longer needed wine 16bit headers. 2007-08-29 12:31:34 +02:00
Peter Verthez 13b376df73 user32: LB_SETITEMDATA should return 1 on success, not 0. 2007-08-14 20:29:21 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 48d740855e user32: Replace inline static with static inline. 2007-03-17 20:04:08 +01:00
Paul Vriens 7100dd4b33 user32/listbox: Remove deadcode (Coverity). 2007-02-09 12:05:26 +01:00
Huw Davies 104e1cf6dd user32: For LBS_OWNERDRAWVARIABLE listboxes return the fixed item height if the listbox is empty. 2006-12-05 16:49:52 +01:00
Alexandre Julliard b8a2e3b8a4 user32: Renamed the user/ directory to user32. 2006-11-16 14:49:25 +01:00