Commit Graph

624 Commits

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