Commit Graph

3709 Commits

Author SHA1 Message Date
Nikolay Sivov
6ee869da6d comctl32: Initialize id field for message data (Coverity). 2013-04-01 12:32:36 +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
cb8ce94e4d comctl32/imagelist: Use proper color format for merged image lists. 2013-03-08 19:35:21 +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
634d190478 comctl32/imagelist: Fixed merging of images without mask. 2013-03-04 11:39:00 +01:00
Daniel Jelinski
30d667bd25 comctl32/imagelist: Allow only one drag cursor. 2013-02-25 10:40:36 +01:00
Daniel Jelinski
b9fe178f36 comctl32/listview: Implement overlay image support. 2013-02-22 10:16:43 +01:00
André Hentschel
2c966be6c3 comctl32/tests: Mark win8 behaviour as broken. 2013-02-21 08:32:39 +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
c5858c16a6 comctl32: Improve mouse wheel scrolling in treeview 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
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
Dmitry Timoshkov
7b3305169c comctl32: Test appropriate tool window for active state.
There is no point in testing owner of the tooltip itself since it's often
created as a popup of the desktop window.
2013-02-05 10:53:42 +01:00
Nikolay Sivov
8f87fc5b39 comctl32/listview: Fix item search with keyboard input. 2013-01-30 12:43:11 +01:00
Nikolay Sivov
8418ae5334 comctl32: Test WM_GETDLGCODE return value for TreeView. 2013-01-30 12:43:05 +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
Nikolay Sivov
7773d6b095 comctl32/listview: Always send LVN_ITEMCHANGING notification even if nothing changed. 2013-01-11 11:58:46 +01:00
Marcus Meissner
1fe4af293c comctl32: Initialize SYSTEMTIME structs (Coverity). 2013-01-10 19:18:45 +01:00
Nikolay Sivov
7bb36372c8 comctl32/listview: Use LVM_SETITEMSTATE directly in tests. 2013-01-10 16:06:03 +01:00
Nikolay Sivov
6227bbcff7 comctl32/listview: Fix focus index update when item is deleted. 2013-01-10 16:05:56 +01:00
Marcus Meissner
d8d83d2eb3 comctl32: Avoid leak of hShell32 (Coverity). 2013-01-09 12:54:39 +01:00
Marcus Meissner
3173f17315 comctl32: Free the selection ranges (Coverity). 2013-01-08 12:30:15 +01:00
Daniel Jelinski
1964145713 comctl32/tests: Add tests for listview header image list. 2013-01-07 13:38:15 +01:00
Daniel Jelinski
bad62c0267 comctl32/listview: Support header images. 2013-01-07 13:38:14 +01:00
Daniel Jelinski
8257ab9a76 comctl32/listview: Fix subitem drawing.
lpColumnInfo->fmt & LVCFMT_IMAGE is supposed to mean that header item has
an image. It is not supposed to mean that all items in that column
should reserve space for an icon if they don't have any.
2013-01-07 13:38:13 +01:00
Daniel Jelinski
9b8e3ca410 comctl32/listview: Update item height when changing font. 2013-01-07 13:38:12 +01:00
Daniel Jelinski
7b1fd9e527 comctl32/listview: Redraw items after insert/delete. 2013-01-07 13:38:11 +01:00
Daniel Jelinski
67eb9744d9 comctl32/listview: Fix calculating item height. 2013-01-07 13:38:11 +01:00
Nikolay Sivov
67c57b216c comctl32/listview: Improve LVM_GETSUBITEMRECT implementation for out-of-bounds item indices. 2013-01-03 16:44:07 +01:00
Andrew Talbot
23fde785ee comctl32: Avoid signed-unsigned integer comparisons. 2013-01-02 13:35:52 +01:00
Ričardas Barkauskas
2c8ea6ebff comctl32: Avoid code duplication by reusing PROPSHEET_GetPageIndex. 2012-12-26 18:23:04 +01:00
Ričardas Barkauskas
379d492b12 comctl32: Use index value if property sheet page isn't found. 2012-12-26 18:23:04 +01:00
Andrew Talbot
85ebbadcb0 comctl32: Indentation fix. 2012-12-17 11:47:39 +01:00
Michael Stefaniuc
ab55448069 comctl32/tests: Get rid of a temp buffer. 2012-12-12 11:58:43 +01:00
Daniel Jelinski
06a0a01e18 comctl32/listview: Forward more header notifications to parent window. 2012-12-11 20:45:44 +01:00
Daniel Jelinski
12c065111b comctl32/listview: Convert header notifications to ANSI in place. 2012-12-11 20:45:44 +01:00
Daniel Jelinski
70df1d58cb comctl32/tests: Add listview header notification tests. 2012-12-11 20:45:43 +01:00