Nikolay Sivov
f4542cf7d7
comctl32/listview: Simplify setting redraw mode flag.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 18:31:08 +09:00
Michael Stefaniuc
903ea19122
comctl32: Use SetRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:23:36 +09:00
Nikolay Sivov
f5ca9b9104
comctl32/listview: Handle DPA_SetPtr() failure (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-08 23:24:53 +09:00
Michael Stefaniuc
d49201138d
comctl32: Use SetRectEmty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 22:29:03 +09:00
Akihiro Sagawa
af4a757ad2
comctl32: Prevent invalid focus change notifications from LVS_OWNERDATA lists.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-21 00:00:21 +09:00
Piotr Caban
ddcab8acea
comctl32: Set listview focus in WM_LBUTTONDOWN.
...
This patch reverts commit 098dc7b330
and
moves focus setting after LVN_ITEMCHANGED notification is sent. Writing
tests for it is tricky because native blocks inside WM_LBUTTONDOWN message.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:04 +09:00
Nikolay Sivov
7a59b27f4d
comctl32/listview: Fix printf format (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 22:31:32 +09:00
Piotr Caban
9c87c7e76d
comctl32: Don't use uninitialized LVITEM fields in LISTVIEW_InsertItemT when LVS_EX_CHECKBOXES was specified.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:50 +09:00
Piotr Caban
4dd26ee814
comctl32: Don't ask for WM_MOUSEHOVER messages when LVS_EX_TRACKSELECT was not specified.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 21:28:49 +09:00
Huw Davies
4f06425a03
comctl32: Set the item size after LISTVIEW_ScrollColumns().
...
LISTVIEW_ScrollColumns() increments the item width by the scroll
delta, so we need the original width to still be present.
2015-09-08 14:48:09 +09:00
Francois Gouget
f8a7d6ed74
Assorted spelling fixes.
2015-08-07 23:50:48 +09:00
Nikolay Sivov
30cdd59252
comctl32/listview: Always forward HDM_SETORDERARRAY to a header.
2015-03-31 14:47:56 +09:00
Nikolay Sivov
d12c2f8b6f
comctl32/listview: Use defined name instead of magic value.
2015-03-31 14:47:54 +09:00
Nikolay Sivov
9fcfaaa64a
comctl32/listview: Support header item image/bitmap in LVSCW_AUTOSIZE_USEHEADER case.
2015-03-31 14:47:52 +09:00
Nikolay Sivov
c4a3651e34
comctl32/listview: Remove outdated TODO comment.
2015-03-30 16:37:44 +09:00
Nikolay Sivov
5c2e7075df
comctl32/listview: Always forward LVM_GETCOLUMNORDERARRAY to header.
2015-03-30 16:37:40 +09:00
Nikolay Sivov
3c9db1df60
comctl32/listview: Fix scrolling in LV_VIEW_DETAILS view.
2015-03-30 16:37:34 +09:00
Nikolay Sivov
782253f18d
comctl32/listview: Fix focus rectangle for LVS_EX_FULLROWSELECT case.
2015-03-30 16:37:31 +09:00
Nikolay Sivov
326af51ec2
comctl32/listview: Fix item focus rectangle to use proper label/selection bounds.
2015-03-30 16:37:27 +09:00
Nikolay Sivov
b6dc726bbd
comctl32/listview: Update view on style change only if LVS_TYPEMASK styles have changed.
2015-03-23 16:36:06 +09:00
Michael Stefaniuc
2db0a3d01e
comctl32: Merge two if blocks with identical condition (PVS-Studio).
2014-12-05 11:24:12 +01:00
Sebastian Lackner
392321f4f6
comctl32: Allocate new memory in notify_forward_header() to avoid Free() on wrong pointer. (Valgrind).
2014-06-23 10:12:25 +02:00
Nikolay Sivov
fa3e750e2c
comctl32/listview: Fix custom draw stage sequence.
2014-05-12 10:55:09 +02:00
Nikolay Sivov
d24095a7d1
comctl32: Fix LVN_DELETEALLITEMS notification for LVS_OWNERDATA case.
2014-04-09 14:58:17 +02:00
Marcus Meissner
318169a86f
comctl32: Process GetKeyState return correctly (Coverity).
2014-04-08 18:28:29 +02:00
Andrey Gusev
be367393c9
Assorted typos fixes.
2014-01-13 17:37:42 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Nikolay Sivov
f13d8cc373
comctl32: Fix LVS_OWNERDRAWFIXED handling in hittesting.
2013-09-09 11:27:54 +02:00
Alexandre Julliard
7624da76a8
comctl32: Remove comments about native behavior, that's not a valid source of information.
2013-05-29 15:43:27 +02:00
Daniel Jelinski
27fb2fb076
comctl32/listview: Fix overwriting of item values.
2013-03-25 13:57:15 +01:00
Daniel Jelinski
6ad51d509c
comctl32/listview: Fix overwriting of item values.
2013-03-11 10:40:42 +01:00
Daniel Jelinski
fae9738cc3
comctl32/listview: Correct sending NM_CUSTOMDRAW to subitem 0.
2013-03-08 11:00:23 +01:00
Daniel Jelinski
704412b459
comctl32/listview: Fix custom draw prepaint handling.
2013-03-04 11:44:37 +01:00
Daniel Jelinski
0ee1df5926
comctl32/listview: Fix font handling in custom draw.
2013-03-04 11:39:20 +01:00
Daniel Jelinski
b9fe178f36
comctl32/listview: Implement overlay image support.
2013-02-22 10:16:43 +01:00
Daniel Jelinski
75d774a43b
comctl32/listview: Fix incorrect message parameters.
2013-02-21 08:32:03 +01:00
Daniel Jelinski
77874d7863
comctl32/listview: Fix LVM_SETICONSPACING on 64bit machines.
2013-02-11 12:31:55 +01:00
Daniel Jelinski
80f70b5d85
comctl32/listview: Better handling of custom colors in report view.
2013-02-11 12:31:29 +01:00
Ken Thomases
858acfbb0d
comctl32: Improve mouse wheel scrolling in listview 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:10 +01:00
Ken Thomases
930e84dfd2
comctl32: Eliminate redundant local variable (gcWheelDelta == -wheelDelta).
2013-02-11 11:46:09 +01:00
Daniel Jelinski
f9c3a612af
comctl32/listview: Do not touch icon spacing if set explicitly.
2013-02-07 12:02:27 +01:00
Daniel Jelinski
aeefa82185
comctl32/listview: Always use large icon size when calculating icon spacing.
2013-02-06 10:16:17 +01:00
Daniel Jelinski
cb77ab1a00
comctl32/listview: Correct icon spacing calculation when set to 0 or -1.
2013-02-06 10:16:00 +01:00
Nikolay Sivov
8f87fc5b39
comctl32/listview: Fix item search with keyboard input.
2013-01-30 12:43:11 +01:00
Nikolay Sivov
ac4192e769
comctl32: Use NM_RCLICK return value to allow default processing.
2013-01-30 12:43:01 +01:00
Francois Gouget
a5ff4b8088
Assorted spelling fixes.
2013-01-29 12:13:04 +01:00
Nikolay Sivov
500da7def6
comctl32/listview: Implement dragging with right button with a message loop.
2013-01-28 14:04:19 +01:00
Nikolay Sivov
ea57e29d08
comctl32/listview: Remove some dead code.
2013-01-14 11:02:18 +01:00
Nikolay Sivov
dbd997c3c9
comctl32/listview: Update focus index when new item data is already there.
2013-01-14 11:02:12 +01:00
Nikolay Sivov
b68e95abd8
comctl32/listview: Add a special case for deselect all attempt when nothing is selected.
2013-01-11 11:58:51 +01:00