Commit Graph

2840 Commits

Author SHA1 Message Date
Nikolay Sivov 84f3c50474 comctl32/progress: Implement PBM_GETBARCOLOR, add some todo entries. 2009-06-29 14:32:21 +02:00
Nikolay Sivov f6bdb637bf comctl32/toolbar: Move parameter cast to WinProc level, some code cleanup. 2009-06-29 14:32:12 +02:00
Paul Vriens f2b0e4f6e6 comctl32/tests: Fix test failures with comctl32 < 5.80. 2009-06-26 14:40:39 +02:00
Nikolay Sivov e7dc4ed07f comctl32/toolbar: Move initialization to WM_NCREATE handler. 2009-06-26 14:40:04 +02:00
Paul Vriens 2bcf38d3a3 comctl32/tests: Fix some test failures with comctl32 < 5.80. 2009-06-26 11:59:54 +02:00
Paul Vriens 7665699411 comctl32/tests: Fix test failures on comctl32 < 5.80. 2009-06-25 14:34:13 +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 d03e63ccd7 comctl32/listview: Test for parent sequence when creating with LVS_OWNERDRAWFIXED. 2009-06-23 11:46:15 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Nikolay Sivov 358fa6cd98 comctl32/listview: XP SP3 comctl32 V6 test workaround. 2009-06-22 13:00:10 +02:00
Nikolay Sivov 6e09365501 comctl32/listview: Fix a test failure on 4.7x. 2009-06-22 13:00:02 +02:00
Nikolay Sivov 25d916e73a comctl32/header: Add support for HDS_FLAT style. 2009-06-22 12:59:54 +02:00
Nikolay Sivov 85224d7f17 comctl32/listview: Implement LVM_MAPIDTOINDEX/LVM_MAPINDEXTOID. 2009-06-22 12:59:50 +02:00
Nikolay Sivov 2286a321c2 comctl32/listview: Basic LVM_MAPINDEXTOID tests. 2009-06-22 12:59:41 +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 7bf031ebc4 comctl32/listview: Add ability to test comctl32 version 6. Add basic LVM_[G,S]ETVIEW test. 2009-06-19 14:54:47 +02:00
Francois Gouget fb37e89a06 comctl32/tests: Make DummyCompareEx() static. 2009-06-19 13:47:20 +02:00
Nikolay Sivov c05e6d8f45 comctl32/listview: Fix test crashes on comctl32 <5.80. 2009-06-18 15:17:27 +02:00
Aric Stewart e3b9420034 comctl32: In COMBOEX_FindStringExact do not try to get text from invalid items. 2009-06-18 15:17:27 +02:00
Paul Vriens 87366355d2 comctl32/tests: Fix some typos (copy-paste). 2009-06-18 15:17:27 +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 5e5a58b138 comctl32/listview: Test for indentation callback. 2009-06-10 11:48:04 +02:00
Andrew Talbot 9064506f76 comctl32: Constify some variables. 2009-06-09 17:01:14 +02:00
Nikolay Sivov 0bca442f25 comctl32/listview: Remove outdated todo entries. 2009-06-09 17:01:14 +02:00
Nikolay Sivov f531271d70 comctl32/listview: Fix item count tests to be dpi aware. 2009-06-09 17:01:14 +02:00
Alexandre Julliard 6d7ad66315 comctl32: Avoid repainting a NULL link. 2009-06-08 18:13:22 +02:00
Vincent Povirk 49308e8da0 comctl32: Use NMTVDISPINFOEX in the TVN_GETDISPINFO notification. 2009-06-08 16:22:43 +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 c98dc0da71 comctl32/listview: Test showing that Edit box should be positioned after LVN_BEGINLABELEDIT. 2009-06-08 14:29:30 +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
Alexandre Julliard 84ccadeeee comctl32/tests: Avoid size_t in traces. 2009-06-05 15:19:57 +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
Andrew Talbot 925cd00cd1 comctl32: Constify some variables. 2009-06-05 14:43:24 +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
Andrew Talbot b898f8dd58 comctl32: Various const qualifier fixes. 2009-06-04 12:12:13 +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 3ebe2ebb0d comctl32/listview: EN_KILLFOCUS handling test. 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 5e53ddfc6f comctl32/listview: Some tests for LVM_EDITLABEL. 2009-06-01 16:16:04 +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 6101a48089 comctl32/listview: A bunch of LVM_GETSUBITEMRECT tests. 2009-05-29 13:24:36 +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
Alexandre Julliard 448d48c3f4 comctl32/tests: Replace a listview macro by an explicit SendMessage. 2009-05-28 15:24:04 +02:00
Andrew Talbot bfe3c6430b comctl32: Constify some variables. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7d32cfef27 comctl32/tooltips: Fix callback tip text retrieval. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 7fd17023be comctl32/tooltips: Move parameter cast to WinProc. 2009-05-28 12:42:18 +02:00
Nikolay Sivov 8921b936a8 comctl32/ipaddress: Skip test on Win95 with common controls 4.70. 2009-05-27 15:40:25 +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 79ed5e0fac comctl32/listview: Fix some LVM_GETVIEWRECT test failures on different platforms. 2009-05-27 11:11:05 +02:00
Nikolay Sivov c5c5bcca90 comctl32/listview: Some LVM_GETITEMRECT tests. 2009-05-27 11:11:00 +02:00
Nikolay Sivov 2a32ce744c comctl32/listview: Improve item position calculating in LVS_REPORT. 2009-05-26 13:49:31 +02:00
Nikolay Sivov 25c775a036 comctl32/listview: A couple of LVM_GETITEMPOSITION tests. 2009-05-26 13:49:25 +02:00
Nikolay Sivov 6b63fce757 comctl32/listview: LVM_GETVIEWRECT is unsupported on LVS_REPORT style. 2009-05-26 13:49:17 +02:00
Nikolay Sivov e7a07aa3fb comctl32/listview: Basic LVM_GETVIEWRECT tests. 2009-05-26 13:49:11 +02:00
Nikolay Sivov 713898df0c comctl32/mru: Fix test failures on Win9x. 2009-05-26 13:49:05 +02:00
Nikolay Sivov 5d631361c9 comctl32/mru: Check for NULL handles in MRU calls. 2009-05-25 14:26:25 +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 7434b8002c comctl32/toolbar: Retrieve Tooltips control data once at WinProc. 2009-05-25 11:38:00 +02:00
Nikolay Sivov 644b5f0e40 comctl32/hotkey: Remove useless line. 2009-05-25 11:37:50 +02:00
Nikolay Sivov 8296075fa7 comctl32/toolbar: Don't free Toolbar control data too early. 2009-05-25 11:37:27 +02:00
Nikolay Sivov 4db999ebdf comctl32/treeview: Use message return values in TreeView tests. 2009-05-25 11:37:20 +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 691aa6e267 comctl32/tests: A bunch of ListView hittest tests. 2009-05-22 11:09:58 +02:00
Nikolay Sivov 1394c6eee3 comctl32/listview: Update focus rectangle properly. 2009-05-21 16:30:38 +02:00
Nikolay Sivov d17afea70f comctl32/tests: A basic test for ListView WM_SETREDRAW. 2009-05-21 16:17:51 +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 8f5a1ae8c9 comctl32/tooltips: Use cached colors for ToolTips. 2009-05-19 15:41:57 +02:00
Nikolay Sivov a2f309a3ee comctl32/syslink: Use cached colors for SysLink. 2009-05-19 15:41:53 +02:00
Nikolay Sivov 745f48157d comctl32/tab: Use cached colors for Tab. 2009-05-19 15:41:48 +02:00
Nikolay Sivov 649e4640d1 comctl32/comboex: Use cached colors for ComboEx. 2009-05-19 15:41:43 +02:00
Nikolay Sivov 1f43da01c0 comctl32/toolbar: No need to use GetSysColor directly. 2009-05-19 15:41:37 +02:00
Nikolay Sivov 97ecd468c4 comctl32/toolbar: Use already cached control window style. 2009-05-19 15:41:30 +02:00
Nikolay Sivov b97600699a comctl32/toolbar: Remove superfluous forward declarations. 2009-05-19 15:41:24 +02:00
Nikolay Sivov 9a0f600574 comctl32/toolbar: Retrieve control data once at WinProc. 2009-05-19 15:41:09 +02:00
Nikolay Sivov 2b72ae6e01 comctl32/status: Use cached colors instead of GetSysColor for Status. 2009-05-19 15:40:37 +02:00
Nikolay Sivov 109a10c961 comctl32/rebar: Use cached colors instead of GetSysColor for Rebar. 2009-05-19 15:40:31 +02:00
Nikolay Sivov cf67786e40 comctl32/monthcal: Use cached colors instead of GetSysColor for MonthCal. 2009-05-19 15:40:20 +02:00
Nikolay Sivov 8806b1e83e comctl32/ipaddress: Use cached colors instead of GetSysColor for IPAddress control. 2009-05-19 15:40:13 +02:00
Nikolay Sivov 45b8e6a4f9 comctl32/tests: Don't use magic numbers for ListView exstyles. 2009-05-18 13:38:40 +02:00
Nikolay Sivov d93aab9c2a comctl32/treeview: Use cached colors instead of GetSysColor in TreeView. 2009-05-18 13:38:32 +02:00
Nikolay Sivov 27f3a6d605 comtl32/listview: Cache Header control window GWL_STYLE. 2009-05-18 13:38:24 +02:00
Nikolay Sivov f875314ffe comctl32/header: Use cached colors instead of querying them again. 2009-05-18 13:38:08 +02:00
Nikolay Sivov e6a3807e59 comctl32/header: Move parameter cast to WinProc where possible. 2009-05-18 13:37:57 +02:00
Nikolay Sivov 7a8f52b37c comctl32/header: Retrieve control data only once at WinProc call. 2009-05-18 13:37:20 +02:00
Francois Gouget ce5bb8b92c comctl32/tests: Make flush_sequence() static. 2009-05-15 10:30:44 +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 bad1dda9ad comctl32/listview: A couple of tests for changing item attributes. 2009-05-12 11:21:35 +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
Giuseppe Bilotta 585c3abb6b comctl32/toolbar: When a null lParam is passed to TB_GETBUTTONTEXTA, we should not return -1 but the string size. 2009-05-07 15:15:07 +02:00
Giuseppe Bilotta fcc9b57c7a comctl32/toolbar: Skip iString field for separators. 2009-05-07 15:14:42 +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 1fac98d3c1 comctl32/listview: Test WM_ERASEBKGND forwarding to parent on CL_NONE background. 2009-05-04 13:23:24 +02:00
Nikolay Sivov 59b08cc1e3 comctl32/listview: Additional test for LVS_EX_HEADERDRAGDROP. 2009-05-04 13:23:11 +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 4ba9e61661 comctl32/header: Reset internal drag state on mouse up. 2009-04-30 12:47:20 +02:00
Timo Kreuzer b4cc117b38 comctl32: Change UINT to UINT_PTR in CreateToolbarEx. 2009-04-30 12:46:52 +02:00
Nikolay Sivov 9f6bd09ec0 comctl32/listview: A couple of LVM_GETITEM tests with incomplete masks. 2009-04-29 14:23:52 +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 43dcbdeb70 comctl32/listview: Some tests for LVIF_NORECOMPUTE flag. 2009-04-29 14:23:33 +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