Commit Graph

658 Commits

Author SHA1 Message Date
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