Commit Graph

863 Commits

Author SHA1 Message Date
Nikolay Sivov a061d3a0d4 comctl32: Fix imagelist leak when switching LVS_EX_CHECKBOXES style. 2009-10-22 14:37:13 +02:00
Nikolay Sivov cd7cfd7451 comctl32/listview: Free ID array when removing all items. 2009-10-22 14:37:02 +02:00
Nikolay Sivov 7301ec8aa8 comctl32/listview: Free column data on control destruction. 2009-10-22 14:36:56 +02:00
Nikolay Sivov aaec03347d comctl32/listview: Don't query header if it isn't created. 2009-10-22 14:36:47 +02:00
Owen Rudge 36e9153f38 comctl32: Ensure listview control has focus when marquee dragging. 2009-10-20 14:27:17 +02:00
Owen Rudge 685fe55f97 comctl32: Only execute hit test in MouseMove if necessary. 2009-10-19 11:34:45 +02:00
Nikolay Sivov f37130c83b comctl32: Use user32 control names from public header constants instead of defining over and over again. 2009-10-08 12:11:47 +02:00
Aric Stewart 8e8c5130f7 comctl32: Implement LISTVIEW_ApproximateViewRect for icon. 2009-10-07 12:22:16 +02:00
Owen Rudge 2a869d039a comctl32: Ensure coordinates are valid during listview marquee selection. 2009-10-06 11:54:45 +02:00
Owen Rudge b63c1cb219 comctl32: Capture the mouse when performing a listview marquee selection. 2009-10-05 13:22:40 +02:00
Owen Rudge 69b76a18fb comctl32: Implement highlighting (marquee) selection support in listview. 2009-10-01 13:51:20 +02:00
Nikolay Sivov 52add2a308 comctl32/listview: Add partial support for cxMin width field. 2009-09-08 13:43:20 +02:00
Nikolay Sivov ecda6af39f comctl32/listview: Handle LVCFMT_FIXED_WIDTH flag. 2009-09-08 13:42:45 +02:00
Nikolay Sivov 5e1f5ebf6c comctl32/listview: Implement LVS_EX_TRANSPARENTBKGND style. 2009-09-08 13:42:24 +02:00
Nikolay Sivov 7420c0d0de comctl32/listview: Call default handler for WM_PAINT disabled by WM_SETREDRAW. 2009-09-01 12:44:03 +02:00
Nikolay Sivov e8846b7c78 comctl32/listview: Block redrawing entirely after WM_SETREDRAW wParam=FALSE. 2009-08-13 11:44:43 +02:00
Nikolay Sivov a6694761fa comctl32/listview: Fix comment typo. 2009-08-06 17:26:33 +02:00
Nikolay Sivov c96900b904 comctl32/listview: Enable column reordering. 2009-08-04 13:03:27 +02:00
Nikolay Sivov 8c6d91052d comctl32/listview: Fix visibility computation in details view. 2009-08-04 13:03:18 +02:00
Nikolay Sivov 9576fb1836 comctl32/listview: Introduce a way to update cached column rectangles from Header. 2009-08-04 12:51:40 +02:00
Nikolay Sivov 6f723508e5 comctl32/listview: Respect column order while scrolling columns. 2009-08-04 12:51:33 +02:00
Nikolay Sivov ebdf2fd254 comctl32/listview: Offset every but LVIR_BOUNDS rectangles to column bound in details view. 2009-08-03 15:04:01 +02:00
Nikolay Sivov 021410cf0e comctl32/listview: Don't offset to column bound calculating LVIR_LABEL for items. 2009-08-03 15:03:51 +02:00
Nikolay Sivov 59e59c6bf9 comctl32/listview: Don't alter selection mark in LVM_SETITEMSTATE. 2009-07-24 11:10:43 +02:00
Nikolay Sivov 092263f051 comctl32/listview: Set LVIS_FOCUSED for all items with LVM_SETITEMSTATE not allowed. 2009-07-24 11:10:38 +02:00
Nikolay Sivov 440218cfde comctl32/listview: Handle NULL lParam in LVM_SETITEMSTATE. 2009-07-24 11:10:32 +02:00
Nikolay Sivov 6c0c08af02 comctl32/listview: Fix selection and focus rectangles on reordered list (report mode). 2009-07-09 11:25:38 +02:00
Nikolay Sivov 2f989163bd comctl32/listview: Fix hittest flag calculation for negative Y values on report mode. 2009-07-07 11:11:32 +02:00
Nikolay Sivov 86e4d1cdbe comctl32/listview: Fix hittesting for "small" positive Y coordinates. 2009-07-07 11:11:27 +02:00
Nikolay Sivov 216ca479f2 comctl32/listview: Fix select rectangle calculation for empty text items. 2009-07-02 12:00:20 +02:00
Nikolay Sivov 84f14a3716 comctl32/listview: Improve hittesting a bit. 2009-07-01 13:15:37 +02:00
Nikolay Sivov 2551ea0568 comctl32/listview: Initialize string pointers on notification conversion routine. 2009-06-24 11:38:31 +02:00
Francois Gouget dee97f4560 comctl32: Make MapIdSearchCompare() static. 2009-06-24 11:24:46 +02:00
Nikolay Sivov ad7f0b950b comctl32/listview: Invalidate list after WM_MEASUREITEM notification. 2009-06-23 11:47:13 +02:00
Nikolay Sivov 8e18e9e6bd comctl32/listview: Notify parent with WM_MEASUREITEM on control creation. 2009-06-23 11:46:21 +02:00
Nikolay Sivov 85224d7f17 comctl32/listview: Implement LVM_MAPIDTOINDEX/LVM_MAPINDEXTOID. 2009-06-22 12:59:50 +02:00
Nikolay Sivov 76cb9c0d77 comctl32/listview: Implement LVM_ISITEMVISIBLE. 2009-06-22 12:59:35 +02:00
Nikolay Sivov 9c565342d0 comctl32/listview: Implement LVM_CANCELEDITLABEL with tests. 2009-06-22 12:59:28 +02:00
Nikolay Sivov 34b802caf0 comctl32/listview: Convert forwarded header notifications to ANSI if NFR_ANSI is current format. 2009-06-16 13:27:12 +02:00
Nikolay Sivov b4b186d7b7 comctl32/listview: Forward HDN_DIVIDERDBLCLICK to parent. 2009-06-16 13:26:54 +02:00
Nikolay Sivov 736d8ff023 comctl32/listview: Block header items drag if LVS_EX_HEADERDRAGDROP isn't set. 2009-06-16 13:26:49 +02:00
Nikolay Sivov 7f936a0a6e comctl32/listview: Setting item text to callback stub value already having it raises item-change notifications.
Use same new text comparison rules for both items and subitems.
Based on patch by Stefan Stranz.
2009-06-15 13:42:30 +02:00
Nikolay Sivov 47bc142dad comctl32/listview: Get rid of Header_* macros. 2009-06-15 13:42:30 +02:00
Nikolay Sivov caa91dcbc7 comctl32/listview: Don't offset subitems on painting. 2009-06-15 13:42:30 +02:00
Nikolay Sivov 89f0bdff6e comctl32/listview: Fix some hittest problems on LVS_EX_FULLROWSELECT. 2009-06-15 13:42:30 +02:00
Nikolay Sivov 8372d1832d comctl32/listview: Don't offset item box to item position on LVS_EX_FULLROWSELECT if item isn't in leftmost column. 2009-06-15 13:42:30 +02:00
Nikolay Sivov f2f444a230 comctl32/listview: Don't use special value (1) for item width to represent both zero and one pixel width. 2009-06-11 11:53:54 +02:00
Nikolay Sivov a5c970dea9 comctl32/listview: Make item width calculation not rely on column order for LV_VIEW_DETAILS. 2009-06-11 11:53:54 +02:00
Nikolay Sivov abe5dee0bb comctl32/listview: Implement callback functionality for item indentation. 2009-06-10 11:48:10 +02:00
Nikolay Sivov 0bca442f25 comctl32/listview: Remove outdated todo entries. 2009-06-09 17:01:14 +02:00
Nikolay Sivov 839b31fcce comctl32/listview: Revert column scrolling recent change, it should be handled differently. 2009-06-08 14:30:15 +02:00
Nikolay Sivov e636998890 comctl32/listview: Use LV_VIEW_* constants instead of style. 2009-06-08 14:30:07 +02:00
Nikolay Sivov ed250886cc comctl32/listview: Defaulting to NFR_ANSI on query failure. 2009-06-08 14:30:02 +02:00
Nikolay Sivov ae0d363043 comctl32/listview: Position edit box after notification. 2009-06-08 14:29:55 +02:00
Nikolay Sivov c111500458 comctl32/listview: Edit box should be destroyed on invalid index too (LVM_EDITLABEL). 2009-06-08 14:29:24 +02:00
Andrew Talbot f5d8fa6613 comctl32: Constify some variables. 2009-06-08 12:41:54 +02:00
Nikolay Sivov 475dcb81f5 comctl32/listview: Improve column scrolling. 2009-06-05 15:19:57 +02:00
Nikolay Sivov d5319303f1 comctl32/listview: Partially revert commit 43d982fde6. 2009-06-05 15:19:57 +02:00
Nikolay Sivov 39398aedc7 comctl32/listview: Improve grid drawing on LVS_EX_GRIDLINES style. 2009-06-04 12:17:23 +02:00
Nikolay Sivov f8904e156f comctl32/listview: Improve item visibility calculation for report view. 2009-06-04 12:17:17 +02:00
Nikolay Sivov 3e4ba3048a comctl32/listview: Some tests for LVS_SORT[A,DE]SCENDING, remove these styles from TODOs. 2009-06-04 12:17:12 +02:00
Nikolay Sivov 6a3ac63c6b comctl32/listview: Implement LVM_SETVIEW. 2009-06-03 15:34:32 +02:00
Nikolay Sivov d5f9f27c37 comctl32/listview: Implement LVM_GETVIEW. 2009-06-03 15:34:31 +02:00
Nikolay Sivov b13cd52b04 comctl32/listview: Handle EN_KILLFOCUS in WM_COMMAND message handler. 2009-06-03 15:34:31 +02:00
Nikolay Sivov 43d982fde6 comctl32/listview: Block LVM_EDITLABEL when control is unfocused and no label created. 2009-06-02 11:57:21 +02:00
Nikolay Sivov 551bb4784a comctl32/listview: Fix item bounds calculation for LVS_REPORT style. 2009-06-01 16:16:04 +02:00
Nikolay Sivov 8cf54c5645 comctl32/listview: Item horizontal position isn't applied for any item bounds on LVS_REPORT. 2009-06-01 16:16:04 +02:00
Nikolay Sivov 3cd15e5db5 comctl32/listview: Don't offset subitem rectangles with item padding returned by LVM_GETSUBITEMRECT. 2009-05-29 13:24:42 +02:00
Nikolay Sivov dd24e5de8c comctl32/listview: Fix regression on LVIR_BOUNDS request - y offset still needed. 2009-05-29 13:24:30 +02:00
Nikolay Sivov 4b73240ae4 comctl32/listview: Use NMITEMACTIVATE instead of NMLISTVIEW for NM_*CLICK notifications. 2009-05-29 13:24:22 +02:00
Nikolay Sivov 4d2883c189 comctl32/listview: Move item position calculation out of subitem loop. 2009-05-27 11:11:21 +02:00
Nikolay Sivov 1a84ca42b2 comctl32/listview: LVM_GETITEMRECT: don't offset to item position on LVS_REPORT querying LVIR_BOUNDS. 2009-05-27 11:11:13 +02:00
Nikolay Sivov 2a32ce744c comctl32/listview: Improve item position calculating in LVS_REPORT. 2009-05-26 13:49:31 +02:00
Nikolay Sivov 6b63fce757 comctl32/listview: LVM_GETVIEWRECT is unsupported on LVS_REPORT style. 2009-05-26 13:49:17 +02:00
André Hentschel 6c915fb336 comctl32: Add ListView_SetCheckState and ListView_GetCheckState. 2009-05-25 14:23:01 +02:00
Nikolay Sivov 0920079b69 comctl32/listview: Don't hittest when it's not needed. 2009-05-25 11:38:36 +02:00
Nikolay Sivov 28bffafdf6 comctl32/listview: Simplify key selection handler a bit. 2009-05-25 11:38:32 +02:00
Nikolay Sivov 4527d02a44 comctl32/listview: Reuse cached control style. 2009-05-25 11:38:27 +02:00
Nikolay Sivov 1ce2797c2f comctl32/listview: Remove duplicated expression. 2009-05-25 11:38:22 +02:00
Nikolay Sivov ce12717c9e comctl32/listview: Fix returning LVHT_ONITEMSTATEICON flag on hittesting. 2009-05-25 11:37:15 +02:00
Nikolay Sivov c46a5141da comctl32/listview: Draw focus rectangle only when visible. 2009-05-25 11:37:09 +02:00
Nikolay Sivov 1394c6eee3 comctl32/listview: Update focus rectangle properly. 2009-05-21 16:30:38 +02:00
Nikolay Sivov c198338263 comctl32/listview: Don't use uninitialized value. 2009-05-21 16:17:51 +02:00
Nikolay Sivov 8f334205f9 comctl32/listview: Fix hittesting for LVS_REPORT subitems. 2009-05-20 14:57:35 +02:00
Nikolay Sivov d769368f66 comctl32/listview: Handle mouse selections more accurately. 2009-05-19 15:42:11 +02:00
Nikolay Sivov a1cac2c314 comctl32/listview: Don't check for state changes we are not aware to store (with some tests). 2009-05-13 12:03:56 +02:00
Nikolay Sivov b4e7e257e0 comctl32/header: Make Header_* macros match PSDK. 2009-05-12 11:21:25 +02:00
Nikolay Sivov e847d7c038 comctl32/listview: Don't redraw focus rectangle on column scroll. 2009-05-11 14:51:53 +02:00
Nikolay Sivov 4a5e23a2f9 comctl32/listview: Select all items with LVM_SETITEMSTATE is blocked in LVS_SINGLESEL. 2009-05-11 14:51:43 +02:00
Nikolay Sivov 472b521606 comctl32/listview: Remove superfluous forward declarations. 2009-05-11 14:51:35 +02:00
Nikolay Sivov 4bc8e87ab6 comctl32/listview: Add tests for LVS_NOSORTHEADER switchover. 2009-05-07 14:44:22 +02:00
Nikolay Sivov 5123ffc36b comctl32/listview: Remove irrelevant fixme comment. 2009-05-07 14:44:22 +02:00
Nikolay Sivov e7537418d9 comctl32/listview: Use handlers instead of sending messages to oneself. 2009-05-05 11:51:05 +02:00
Nikolay Sivov 50c3b530f7 comctl32/listview: Forward WM_ERASEBKGND to parent on CLR_NONE. 2009-05-04 13:23:31 +02:00
Nikolay Sivov 2829c5fd1e comctl32/listview: Fix LVM_INSERTITEM handling on LVS_SORTxxx styles. 2009-05-04 13:23:03 +02:00
Francois Gouget 8a46d0eaf5 Assorted spelling fixes. 2009-05-04 12:53:29 +02:00
Nikolay Sivov 3d7eb3d414 comctl32/listview: Fix wrong function description. 2009-05-01 16:19:45 +02:00
Nikolay Sivov ebeabf11d3 comctl32/listview: Remove wrong TODO entry. 2009-05-01 14:34:00 +02:00
Nikolay Sivov 8a03ac58c5 comctl32/listview: Check columns array size before trying to obtain rectangle. 2009-04-30 17:19:56 +02:00
Nikolay Sivov 146209381b comctl32/listview: Don't draw wrapped focus rectangle. 2009-04-30 12:47:30 +02:00
Nikolay Sivov cd8b91f1bb comctl32/listview: Handle LVIF_NORECOMPUTE in LVM_GETITEM[A,W]. 2009-04-29 14:23:42 +02:00
Nikolay Sivov bbd00da488 comctl32/listview: Handle CCM_[G,S]ETVERSION in listview. 2009-04-29 14:23:17 +02:00
Nikolay Sivov 82744c93e0 comctl32/listview: Fix resizing grid drawing at right from rightmost column. 2009-04-27 13:47:48 +02:00
Nikolay Sivov d1d7dfab64 comctl32/listview: Fix horizontal grid line drawing. 2009-04-27 13:47:41 +02:00
Nikolay Sivov 2796763ee3 comctl32/listview: Draw rightmost vertical grid line when needed. 2009-04-27 13:47:35 +02:00
Nikolay Sivov 3f0824bdf4 comctl32/listview: Remove duplicated iterator initializer. 2009-04-27 13:47:25 +02:00
Nikolay Sivov bf61677998 comctl32/listview: Reuse existing variable instead of duplicated expression. 2009-04-27 13:47:18 +02:00
Nikolay Sivov 8b26cce8f8 comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header. 2009-04-24 15:50:39 +02:00
Nikolay Sivov 457c983ee3 comctl32/listview: Partial fix for LVM_GETSUBITEMRECT for item == -1. 2009-04-22 13:14:48 +02:00
Peter Schauer 56720276e8 comctl32/listview: Fix warning from DPA_GetPtr. 2009-04-21 16:24:36 +02:00
Nikolay Sivov 9cc12d2879 comctl32/listview: Header should be created when LVS_EX_HEADERDRAGDROP set. 2009-04-21 15:31:00 +02:00
Nikolay Sivov ac8257cb1e comctl32/listview: Add a TRACE(..) to LISTVIEW_CreateHeader. 2009-04-21 15:30:55 +02:00
Nikolay Sivov 949e9043b9 comctl32/listview: LVM_SETITEM is unsupported on LVS_OWNERDATA. 2009-04-21 15:30:47 +02:00
Nikolay Sivov 3ce8e20896 comctl32/listview: Some tests for LVS_SINGLESEL switchover. 2009-04-20 15:25:03 +02:00
Nikolay Sivov 0588ba7fef comctl32/listview: Fix a regression caused by 9c1a0e468f. 2009-04-20 15:24:58 +02:00
Nikolay Sivov 42bef95cbc comctl32/listview: Switching to/from LVS_OWNERDATA isn't allowed after creation. 2009-04-20 15:24:48 +02:00
Nikolay Sivov 10a936150b comctl32/listview: Slightly enlarge rectangle when drawing checkbox. 2009-04-20 15:24:41 +02:00
Nikolay Sivov ffb214a66b comctl32/listview: Add a ListView_GetTextBkColor macro. 2009-04-20 15:24:35 +02:00
Nikolay Sivov b2486d41c7 comctl32/listview: Implemented LVM_SORTITEMSEX. 2009-04-15 16:19:01 -05:00
Nikolay Sivov 961f175cc2 comctl32/listview: Fix some comment typos. 2009-04-15 16:18:36 -05:00
Nikolay Sivov e014484a43 comctl32/listview: Fix a regression caused by 59148d0bb5. 2009-04-14 14:49:43 -05:00
Nikolay Sivov 9c1a0e468f comctl32/listview: Fix selection handling in LVM_SORTITEMS (with some tests). 2009-04-14 14:49:22 -05:00
Nikolay Sivov 13dfb9b3a6 comctl32/listview: State mask should be ignored on LVM_INSERTITEM. 2009-04-10 10:23:44 +02:00
Nikolay Sivov 59148d0bb5 comctl32/listview: Implement delayed header creation for ListView control. 2009-04-08 11:39:25 +02:00
Marcus Meissner e28c28b461 comctl32: Avoid potential overflow in Search Param (Coverity 903). 2009-04-06 11:16:05 +02:00
Nikolay Sivov b7f0dd64da comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA. 2009-03-13 11:28:31 +01:00
Nikolay Sivov 24dc6600fc comctl32: Fix item selection with VK_SPACE when Ctrl is pressed. 2009-03-11 13:03:31 +01:00
Igor Tarasov b3b7ecb390 comctl32: Make listview forward HDN_ITEMCLICK. 2009-02-19 16:17:18 +01:00
Igor Tarasov d86a5a611d comctl32: Do not send LVN_DELETEITEM on LVM_DELETEALLITEMS for virtual listviews. 2009-02-19 16:17:18 +01:00
Igor Tarasov e02d80b775 comctl32: Implement LVN_ODFINDITEM. 2009-02-19 16:17:18 +01:00
Igor Tarasov 73b490b57d comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters. 2009-02-19 16:17:18 +01:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Michael Stefaniuc c46a88a3c9 comctl32: Remove superfluous casts that crept in as well as some older ones. 2008-11-07 11:00:16 +01:00
Aric Stewart e46a875996 comctl32: Add implementation of LVS_EX_ONECLICKACTIVATE. 2008-11-05 10:55:05 +01:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
Lei Zhang 2881b171df comctl32: Reset nEditLabelItem in LISTVIEW_EndEditLabelT. 2008-10-29 13:29:33 +01:00
Lei Zhang 10d3ea30b7 comctl32: Don't notify if listview edit box contents have not changed. 2008-10-29 13:29:33 +01:00
Lei Zhang 9b057494d0 comctl32: Get rid of DragDetect. 2008-10-29 13:29:33 +01:00
Michael Stefaniuc 1659313142 comctl32: DPA_GetPtr() returns a LPVOID so don't cast its return value. 2008-10-24 14:24:59 +02:00
Lei Zhang 60d97040f8 comctl32: Avoid a divide by zero in listview. 2008-09-30 10:56:55 -05:00
Andrew Talbot 183f92b22a comctl32: Sign-compare warnings fix. 2008-09-15 11:47:45 +02:00
Lei Zhang fc2404bc20 comctl32: Handle listview dragging better. 2008-09-11 12:33:01 +02:00
Lei Zhang 5f9b0db217 comctl32: listview: Prevent DragDetect from removing WM_LBUTTONUP messages. 2008-09-11 12:32:53 +02:00
Nicolas Le Cam 22e69c0ee4 comctl32: Implement LVM_GETUNICODEFORMAT. 2008-09-04 11:51:40 +02:00
Lei Zhang 098dc7b330 comctl32: Set listview focus on WM_LBUTTONUP instead of WM_LBUTTONDOWN. 2008-08-21 14:11:58 +02:00
Mikołaj Zalewski 60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Guy Albertelli 6de3764339 comctl32: listview: Implement LVS_NOCOLUMNHEADER support for WM_STYLECHANGED message.
When switching LVS_NOCOLUMNHEADER on/off change the style of the header control HDS_HIDDEN.
2008-06-25 20:28:02 +02:00
Guy Albertelli ff9bb5aec3 comctl32: listview: Show the header when updating header size if not LVS_NOCOLUMNHEADER. 2008-06-25 20:27:50 +02:00
Guy Albertelli 4b34260a73 comctl32: listview: Change header control create act like native for LVS_NOCOLUMNHEAD.
The native control issues the CreateWindowEx call with the HDS_HIDDEN
as part of the style and not by issuing the SetWindowLong call.
2008-06-25 20:26:00 +02:00
Lei Zhang 4700b0bd87 comctl32: Support LVCF_SUBITEM in LVM_GETCOLUMN. 2008-06-21 11:36:56 +02:00
Lei Zhang 59e3490cad comctl32: Don't rearrange icons / update scroll bar when destroying a listview. 2008-06-18 16:03:20 +02:00
Andrew Talbot 3c5308b804 comctl32: Indentation fix. 2008-05-23 11:58:18 +02:00
Alexandre Julliard 5315da8445 comctl32: Fix extending a multiple listview selection. 2008-05-21 14:26:35 +02:00
Guy Albertelli 09cb415109 listview: Return correct value from WM_NOTIFYFORMAT with test. 2008-05-08 11:11:03 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Guy Albertelli 7fb21244d9 listview: Correct return value from LVM_GETORIGIN including tests for this.
Tests to validate return value of the LVM_GETORIGIN message and fix our
implementation.
2008-04-28 14:22:39 +02:00
Guy Albertelli e85fa81f3c listview: Implement 2 pixel decoration at top of report style with grid lines.
The native control has a 2 pixel header. This implements that background pixel
line and the gridline below it.
2008-04-28 14:22:35 +02:00
Guy Albertelli 7326f091b0 listview: Implement LVS_EX_GRIDLINES functionality.
Implement basic LVS_EX_GRIDLINES functionality including support for no items.
2008-04-28 14:22:16 +02:00
Andrew Talbot bab7871cac comctl32: Remove unused variables. 2008-04-14 12:09:13 +02:00
Lei Zhang 03f18eb425 comctl32: Fix listview redraw when deleting items. 2008-03-20 14:27:36 +01:00
Lei Zhang 74f2f09295 comctl32: Correct listview hittest check to include the state rect. 2008-03-20 14:27:36 +01:00
Lei Zhang da98243ea1 comctl32: Redraw listview after changing extended styles. 2008-03-20 14:27:35 +01:00
Lei Zhang fe966335fd comctl32: Implement listview checkbox toggle. 2008-03-20 14:27:35 +01:00
Rob Shearman 7f33e95ca7 comctl32: Rename the dwStyle and dwOldStyle variables in LISTVIEW_SetExtendedListViewStyle to more accurately reflect their purpose.
This also fixes local variable shadowing in the function, which should 
be avoided for purposes of code readability.
2008-02-25 12:02:18 +01:00
Alexandre Julliard 543909958f comctl32: Remove unnecessary \n in trace. 2008-02-17 20:26:13 +01:00
Bang Jun-young c5083961b3 comctl32: Fix invalid syntax. 2008-02-07 11:59:53 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot 867f254bec comctl32: Remove unneeded casts. 2007-12-31 17:40:45 +01:00
Thomas Weidenmueller 23dd46413c comctl32: Fix painting bug in listview control. 2007-12-11 17:48:53 +01:00
Alexandre Julliard b406e9a7b4 comctl32: Fix a compiler warning. 2007-12-07 18:43:05 +01:00
Detlef Riekenberg 2b8f8d16bd comctl32: Fix a typo in a debug message. 2007-11-14 11:51:13 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Alexandre Julliard 16080ccd48 comctl32: Fix a discard const warning. 2007-10-17 14:15:13 +02:00
Jason Edmeades f6631265f3 comctl32: Listview fails to add a column if mask=0. 2007-08-17 12:01:37 +02:00
Markus Goemmel 4b8d442477 comctl32/listview.c: Ownerdraw font problem during focus change fixed. 2007-06-06 20:34:19 +02:00
Mikołaj Zalewski a1b55be693 comctl32: listview: Make LVM_GETCOLUMNWIDTH query the header control instead of using cached data. 2007-06-04 13:16:36 +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
Francois Gouget 0acb5810bf Assorted spelling fixes. 2007-05-15 18:09:16 +02:00
Felix Nawothnig a4d3e46e65 comctl32: Fix item rect calculation. 2007-04-06 12:31:05 +02:00
Andrew Talbot 3017a48e48 comctl32: Cast-qual warnings fix. 2007-03-30 10:55:19 +02:00
Andrew Talbot b07d7ce729 comctl32: Constify some variables. 2007-03-29 21:07:58 +02:00
Mikołaj Zalewski 88bdc3af95 comctl32: listview: Compute the state icon rect in GetItemMetrics. 2007-03-13 21:27:44 +01:00
Felix Nawothnig 79d4dfb601 comctl32: Implement LVS_EX_DOUBLEBUFFER. 2007-03-12 12:08:19 +01:00
Felix Nawothnig 7b99592975 comctl32: Fix my last patch.
My last patch was wrong and caused some nasty regressions. Mapping 
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Felix Nawothnig 08670ee725 comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing. 2007-03-09 21:18:10 +01:00
Felix Nawothnig 9badfb50cf comctl32: Update header window in listview WM_PAINT handler. 2007-02-28 21:04:15 +01:00
Mikołaj Zalewski f3ebf1c7f4 comctl32: listview: Set the style in WM_CREATE. 2007-02-26 13:58:31 +01:00
Aric Stewart aecbb11e40 comctl32: Implement LVM_SETUNICODEFORMAT. 2007-02-22 11:27:01 +01:00
Felix Nawothnig 8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Mikołaj Zalewski 3ea059c9d7 comctl32: listview: Create the LISTVIEW_INFO in WM_NCCREATE. 2007-02-08 13:01:18 +01:00
Rob Shearman 65f1d6a38e comctl32: Fix the computation of the select bounds item rect
and fixup the places that depended on the old behaviour.
2007-02-06 21:32:46 +01:00
Francois Gouget b0bde6b87c Assorted spelling fixes. 2007-01-18 12:56:52 +01:00
Mikołaj Zalewski 749d975a41 comctl32: listview: When shrinking the last column clear the now unused field. 2007-01-16 11:17:31 +01:00
Mikołaj Zalewski 495455c0f8 comctl32: listview: A CDRF_SKIPDEFAULT for an item should skip the whole row. 2007-01-16 11:17:21 +01:00
Duane Clark 2575c37b22 comctl32: listview: Allow LVIF_STATE flag in subitems. 2007-01-08 21:00:59 +01:00
Mike McCormack d6ea1bf120 comctl32: Check subitem is valid before calling LISTVIEW_InvalidateSubItem(). 2007-01-04 20:53:21 +01:00
Mike McCormack 2d097f7024 comctl32: Remove unnecessary casts. 2007-01-04 20:53:18 +01:00
Frank Richter 8002c49ede comctl32: listview: Fix getting user params and subitems.
When querying a listview subitem for the user param, the main item's
user param is returned. Also, when a subitem is custom-drawn, the main
item's user param is passed along.
2006-12-29 20:55:04 +01:00
Mikołaj Zalewski 1e9acccefd comctl32: listview: Update the scroll bars after resizing the last column. 2006-10-16 17:05:54 +02:00
Michael Ploujnikov 1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
Mikołaj Zalewski 056d004b3b comctl32: listview: Don't call ScrollColumn with an out of bounds index when resizing the last column. 2006-10-12 12:53:26 +02:00
James Hawkins cd073a66a5 comctl32: Make internal functions static. 2006-10-12 11:35:05 +02:00
Francois Gouget 20eb2f9998 comctl32: Fix LVM_GETITEM/LVIF_STATE so it only returns the bits it
has been asked for, and sets all the others to zero (with conformance
test).
2006-10-03 20:18:57 +02:00
Francois Gouget 222c167969 Assorted spelling fixes. 2006-09-29 16:28:30 +02:00
Mikołaj Zalewski 9de2c506dd comctl32: listview: Don't edit labels after the first click of a double click. 2006-09-14 11:11:40 +02:00
Mikołaj Zalewski 88b0e04de7 comctl32: listview: Don't edit labels on click if the view was not focused. 2006-09-14 11:10:59 +02:00
Huw Davies f01ae8ace9 comctl32: All items should be marked as unchecked when LVS_EX_CHECKBOXES is initially set.
When a new item is added with LBS_EX_CHECKBOXES already set then that item is marked as unchecked.
2006-07-18 11:09:27 +02:00
Paul Vriens 412aa2a10d comctl32: Use struct member after check for NULL (Coverity). 2006-07-17 13:53:49 +02:00
Mikołaj Zalewski 2248217157 comctl32: listview: Recompute header size after an insertion of a column. 2006-07-05 12:56:24 +02:00
Mike McCormack f86270a022 comctl32: Arrange the listview after deleting all items so we will place icons at the top again. 2006-06-15 11:39:29 +02:00
Mike McCormack 52c204be88 comctl32: Use the listview's background colour when drawing with imagelist. 2006-06-15 11:39:29 +02:00
Mikołaj Zalewski bfe030dfed comctl32: listview: Apply the HDS_DRAGDROP header style if needed.
Apply the HDS_DRAGDROP header style if the listview has the
LVS_EX_HEADERDRAGDROP. Block the columns reordering as the listview
doesn't support them.
2006-05-26 11:57:05 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mikołaj Zalewski 117b8e7927 comctl32: listview: Recompute sizes after a column deletion. 2006-05-17 21:01:30 +02:00
Mikołaj Zalewski 700dd456e9 comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN. 2006-05-15 14:46:30 +02:00
Mikołaj Zalewski cb3424f642 comctl32: Scroll listview if changing scroll bounds changes the scroll pos. 2006-04-18 11:16:26 +02:00
Aric Stewart 097aec39ca comctl32: Listview notify fix.
Turn off updating for that the unselect and select and then turns it
on for the focus call, this results in 1 edit notify being sent at the
end of the operation.
2006-04-17 11:18:13 +02:00
Mikołaj Zalewski e55c44c737 comctl32: Fix listview column resize.
Draw a track line after a HDN_TRACK, resize the columns only after a
HDN_ITEMCHANGED.
Create the header with HDS_FULLDRAG.
2006-04-12 19:52:34 +02:00
Mike McCormack ecaa525a3f comctl32: Get rid of some incorrect casts. 2006-03-20 22:08:44 +01:00
Peter Åstrand c5552a694b comctl32: LISTVIEW_InsertItemT should accept iItem < 0, when using sorted lists. 2006-03-08 11:32:46 +01:00
Mike McCormack 2dfe50aa3f comctl32: Fix some gcc 4.1 warnings caused by windowsx.h macros. 2006-03-03 13:18:50 +01:00
Maarten Lankhorst 15ca9ce672 comctl32: Restore listview font on CDRF_NEWFONT. 2006-01-31 12:21:51 +01:00
Dmitry Timoshkov 6d32c42ced comctl32: Make listview use standard wine_dbg_sprintf and wine_dbgstr_xxx. 2006-01-24 11:04:32 +01:00
Vitaliy Margolen a8e59b1c52 comctl32: Listview - allow selection toggle with ctrl+space. 2006-01-03 12:11:18 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Dimi Paun cd1b13fb7d Validate the column index passed in by the caller. 2005-11-05 10:42:35 +00:00
Ulrich Czekalla 795de499d5 Clear bLButtonDown flags if mouse is not down. 2005-11-02 10:56:12 +00:00
Troy Rollo c0b79e0b05 Detect when the notification callback has destroyed the ListView to
avoid attempts to access data that is no longer valid.
2005-10-21 15:49:36 +00:00
Vitaliy Margolen 8fb6037626 Correct Page Up/Down handling in report mode. 2005-10-04 17:58:46 +00:00
Vitaliy Margolen 6ab0b0194d Don't start dragging for a single mouse click. 2005-10-04 15:50:24 +00:00
Michael Jung aa0da30296 Fixed inconsistency in LISTVIEW_DUMP macro. 2005-09-13 14:30:53 +00:00
Frank Richter 9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Frank Richter db5b331f3a Remove unneeded theming check. 2005-08-03 10:56:14 +00:00
Vitaly Lipatov 2af4200877 Use STATEIMAGEINDEX / INDEXTOSTATEIMAGEMASK instead of bit
operations.
2005-08-02 09:47:18 +00:00
Frank Richter d219a54e80 Since OpenThemeData() should return 0 in case theming is disabled
globally or for the application we don't need to check that when
calling OpenThemeData().
2005-07-27 15:16:09 +00:00
Frank Richter d42210dd11 Use theming for the ListView non-client area. 2005-07-25 11:09:38 +00:00
Dimi Paun ebe8b2292a Silence uninitialized warnings. 2005-07-18 09:10:31 +00:00
Kevin Koltzau 28f15a3bdf Forward some header notifications to parent of listview. 2005-07-15 11:42:47 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Felix Nawothnig 7572fd3870 Fix some missed invalidations after column resize. 2005-06-04 10:00:12 +00:00
Kouji Sasaki 6b5b0b9195 Added the feature to change row height in owner draw controls. 2005-05-30 11:10:01 +00:00
Felix Nawothnig 92f9c3f1b9 Pass the right hwnd to ReleaseDC(). 2005-05-29 20:02:32 +00:00
Kouji Sasaki d8c100478e Added the callback item processing for LISTVIEW_EndEditLabelT
function.
2005-05-26 12:23:38 +00:00
Kouji Sasaki 2218c6e479 Corrected the priority of operators for LISTVIEW_GetNextItem
function.
2005-05-25 09:53:46 +00:00
Kouji Sasaki 31f718b8bf Added handling of WM_ENABLE message. 2005-05-24 11:46:53 +00:00
James Hawkins 40c8f1bc02 Audit the List-View control. 2005-05-24 09:50:23 +00:00
James Hawkins 5e6b43e2a0 Select the item under the point (x,y) in MouseHover. 2005-05-20 19:16:23 +00:00