Commit Graph

861 Commits

Author SHA1 Message Date
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
Nikolay Sivov 7773d6b095 comctl32/listview: Always send LVN_ITEMCHANGING notification even if nothing changed. 2013-01-11 11:58:46 +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 3173f17315 comctl32: Free the selection ranges (Coverity). 2013-01-08 12:30: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
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
Nikolay Sivov 9ed808e340 comctl32: Fix a ranges leak on error. 2012-12-10 11:25:00 +01:00
Daniel Jelinski c1157b79fd comctl32: Properly initialize internal structures. 2012-11-27 19:45:38 +01:00
Daniel Jelinski e9e09b66a0 comctl32: Move WM_SIZE handling into WM_WINDOWPOSCHANGED. 2012-11-13 16:54:54 +01:00
Daniel Jelinski ae72b21641 comctl32: Clean up listview resizing code. 2012-10-01 12:20:30 +02:00
Daniel Jelinski 0edb0233a4 comctl32: Use GetWindowLong to check for scrollbar.
dwStyle is updated only in WM_STYLECHANGED, which is not sent
when displaying and hiding scrollbars.
2012-10-01 12:20:09 +02:00
Daniel Jelinski 425f0a25d6 comctl32: Invalidate correct rectangle for marquee selection. 2012-09-12 12:48:50 +02:00
Alexandre Julliard 0e9c9772ef comctl32: XOR'ing with a black pen is not useful. 2012-09-10 11:38:21 +02:00
Daniel Jelinski e389326bdd comctl32/listview: Do not draw unnecessary grid lines. 2012-09-03 16:45:50 +02:00
Francois Gouget bede13b335 comctl32: Fix lstrncmpiW() so its return value is standard and use the CSTR_XXX macros. 2012-06-20 10:27:36 +02:00
Nikolay Sivov 6560d88151 comctl32/listview: Properly update selection mark on item state change. 2012-06-11 12:19:07 +02:00
Piotr Caban 25f347892e comctl32: Make icons not overlapping in LVS_ICON mode. 2012-05-10 18:42:06 +02:00
Piotr Caban 8276a3375b comctl32: LVM_SETITEMTEXT is not supported on LVS_OWNERDATA. 2012-05-10 18:41:55 +02:00
Nikolay Sivov b326426fec comctl32: Use single notification message for setting all item state with LVM_SETITEMSTATE (LVS_OWNERDATA case only). 2012-03-26 18:15:51 +02:00
Nikolay Sivov 485fde811d comctl32/listview: Create header when LVS_EX_FULLROWSELECT is requested. 2011-12-09 21:15:26 +01:00
Nikolay Sivov dfbe664548 comctl32/listview: Create header when LVS_EX_GRIDLINES style is set. 2011-12-05 12:23:24 +01:00
Henri Verbeet b99a2a9ff8 comctl32: Avoid using __FUNCTION__ in ranges_check. 2011-11-07 11:32:38 +01:00
Andrew Talbot 92c408cd66 comctl32: Remove unneeded address-of operator from function name. 2011-08-30 11:54:40 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Piotr Caban c47c62a802 comctl32: Don't invalidate item in LISTVIEW_SetItemT when its state has not changed. 2011-07-21 16:28:31 +02:00
Nikolay Sivov 0a92c01a57 comctl32/listview: Don't invalidate list on LVM_SETBKCOLOR. 2011-07-20 19:23:05 +02:00
Nikolay Sivov 43a199d54d comctl32/listview: Don't invalidate list on LVM_SETTEXTCOLOR. 2011-07-20 19:23:05 +02:00
Nikolay Sivov 4fc8c44bf1 comctl32/listview: Don't invalidate list on LVM_SETTEXTBKCOLOR. 2011-07-20 19:23:05 +02:00
Piotr Caban 8669fa7308 comctl32: Make iterator_remove_common_items working on one range iterators. 2011-06-28 10:18:57 -05:00
Piotr Caban 7366d159fc comctl32: Don't redraw whole listview in double buffering mode. 2011-06-20 19:32:05 +02:00
Piotr Caban 02c224edf9 comctl32: Refresh listview after sorting. 2011-06-20 19:32:05 +02:00
Piotr Caban 1a67903b04 comctl32: Fix area invalidated by LISTVIEW_SetItemT. 2011-06-20 19:32:05 +02:00
Piotr Caban 734a4c3aec comctl32: Fix ListView_Scroll implementation. 2011-06-07 14:18:32 +02:00
Piotr Caban b2cb04b4e6 comctl32: Fix listview horizontal scrolling. 2011-06-07 14:18:32 +02:00
Piotr Caban a87e726d6b comctl32: Improve LISTVIEW_MarqueeHighlight performance. 2011-06-07 14:18:32 +02:00
Nikolay Sivov c6dd14199c comctl32/listview: Fix parameter validation for LVM_SETITEMTEXT. 2011-05-13 10:55:43 +02:00
Nikolay Sivov 69bcdb7aad comctl32/listview: Don't forward HDN_ITEMCHANGING/HDN_ITEMCHANGED to listview parent. 2011-05-11 14:56:49 +02:00
Nikolay Sivov 34d86a2d17 comctl32/listview: Make edit box handle available from LVN_ENDLABELEDIT notification. 2011-05-09 11:44:30 +02:00
Nikolay Sivov 740e7be128 comctl32/listview: Don't refuse to set subitem data when some extra flag is specified. 2011-05-06 16:42:01 +02:00
Nikolay Sivov 7bdcbfb9a0 comctl32/listview: Fix edit box text limit. 2011-03-28 17:31:25 +02:00
Nikolay Sivov 124eaa046f comctl32/listview: Adjust dispinfo text buffer length. 2011-03-28 17:31:21 +02:00
Nikolay Sivov 1734577731 comctl32/listview: Fix dead condition (Coverity). 2011-02-25 11:09:15 +01:00
Alexander Scott-Johns 60b5d91abb comctl32: Fix read of uninitialized data in notify_itemactivate (Valgrind). 2011-02-21 12:46:26 +01:00
Alexander Scott-Johns f2df2f38e6 comctl32: Fix read of uninitialized data in LISTVIEW_GetItemExtT when LVIF_TEXT is not set (Valgrind). 2011-02-21 12:46:14 +01:00
Alexander Scott-Johns e2d4775233 comctl32: Fix read of uninitialized data in LISTVIEW_HeaderNotification and rename it to LISTVIEW_Notify (Valgrind). 2011-02-17 17:31:22 +01:00
Nikolay Sivov 6992ccc042 comctl32/listview: Remove duplicated operation (LLVM/Clang). 2011-02-07 10:08:31 -06:00
Nikolay Sivov e8b73fa8f3 comctl32/listview: Remove some useless operations (LLVM/Clang). 2011-02-07 10:08:25 -06:00
Nikolay Sivov b5ddadce6f comctl32/listview: Remove couple of dead assignments (LLVM/Clang). 2011-02-07 10:08:04 -06:00
Gerald Pfeifer b227f75435 comctl32: Remove the last, unused parameter from LISTVIEW_HScroll. 2011-01-03 11:29:09 +01:00
Nikolay Sivov f0f3157da1 comctl32/listview: Don't touch out text pointer if it wasn't requested. 2010-12-03 13:13:45 +01:00
Nikolay Sivov 119860b05f comctl32/listview: Use a code set by dispinfo holder to convert data encoding after LVN_GETDISPINFO. 2010-11-17 11:19:32 +01:00
Nikolay Sivov 03bd3c8040 comctl32/listview: Use actual edit box contents to calculate initial control size. 2010-10-04 15:00:07 +02:00
Nikolay Sivov 5d657a106f comctl32/listview: Use proper A/W call to measure item text string. 2010-09-27 14:13:16 +02:00
Austin English 76ba45e5ab comctl32: Fix compiler warnings on Clang. 2010-09-20 13:57:40 +02:00
Gerald Pfeifer 84a6598290 comctl32: Remove the last, unused parameter from LISTVIEW_VScroll and all its invocations. 2010-08-23 13:37:01 +02:00
Nikolay Sivov ce5a06c1b0 comctl32/listview: Fix infinite loop case for full item range as a first search range. 2010-08-20 13:21:34 +02:00
Gerald Pfeifer ab575718ce comctl32: Merge is_textT and is_textW into a single is_text. 2010-08-16 15:54:22 +02:00
Andrew Talbot 2b9ff98203 comctl32: Constify some variables. 2010-08-02 12:55:21 +02:00