Commit Graph

248 Commits

Author SHA1 Message Date
Marko Nikolic 38bf3a6bbd comctl32/tests: Removed sign comparison warning in listview tests. 2011-06-06 16:17:56 +02:00
Nikolay Sivov 64cd12d740 comctl32/tests: Initialize subitem index. 2011-05-13 20:09:59 +02:00
Nikolay Sivov 96c99dc99b comctl32/tests: Test return values in uniform way. 2011-05-13 17:05:06 +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 7f64031661 comctl32/tests: Test message result for equality. 2011-05-06 16:41:58 +02:00
Nicolas Le Cam 401961f8fb comctl32/tests: Remove a set but unused variable. 2011-05-02 12:41:39 +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 cf36677cbc comctl32/tests: Test more return values (LLVM/Clang). 2011-02-07 10:08:40 -06:00
Greg Geldorp 50a25a8ebb comctl32/tests: Fix failures for 120DPI display. 2011-01-20 12:24:08 +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
Gerald Pfeifer 42b1006925 comctl32: Fix test description in test_hittest. 2010-11-01 11:44:49 +01:00
Austin Lund 227b1fe2ca comctl32/tests: Add tests for negative subitems independent of local settings. 2010-10-05 12:20:29 +02:00
Austin Lund 3fd940b2a1 comctl32/listview: Fix test failures for subitem returned with negative coordinates. 2010-09-27 14:13:16 +02:00
Austin Lund e1a0a66f27 comctl32/tests: Default listview width appears to be 1 inch. 2010-09-23 11:53:11 +02:00
Austin Lund 3836e62ed8 comctl32/tests: LVM_GETRECTITEM should return TRUE. 2010-09-22 12:43:37 +02:00
Nikolay Sivov 61c8a30574 comctl32/listview: Fix vertical position offset for subitem rectangle. 2010-05-24 11:30:33 +02:00
Nikolay Sivov 5d708246d7 comctl32/listview: Don't forward WM_COMMAND to parent if we don't have an Edit box. 2010-05-21 14:37:52 +02:00
Andrew Eikum fe92119f53 comctl32/listview: Derive subitem rect from listview origin. 2010-05-18 18:42:18 +02:00
Gerald Pfeifer 47fff748cc comctl32/tests: Remove variable hwndheader which is not really used from test_redraw. 2010-05-11 11:40:29 +02:00
Gerald Pfeifer b021128c4b comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect. 2010-05-03 16:47:30 +02:00
Gerald Pfeifer a2edb3c55c comctl32/tests: Remove variable hwndheader which is not really used from test_items. 2010-05-03 15:42:41 +02:00
Nikolay Sivov 379cf46873 comctl32/listview: Don't change Z-order of edit window while resizing edit box. 2010-04-25 19:22:18 -05:00
Nikolay Sivov dd3fc17884 comctl32/listview: Add callback subitem on column insertion. 2010-04-22 18:11:42 +02:00
Nikolay Sivov 7d846eb19f comctl32/listview: Properly handle subitem hittesting outside of horizontal columns bounds. 2010-04-21 11:57:32 +02:00
Nikolay Sivov 7371d0d2fc comctl32/listview: Exit early on LVM_CREATEDRAGIMAGE if null pointer passed for a point. 2010-04-20 16:21:37 +02:00
Michael Stefaniuc 0c2ec54535 comctl32/tests: Use the SendMessage instead of ListView_Scroll. 2010-03-26 10:29:52 +01:00
Mikhail Maroukhine ad68792a14 comctl32/tests: Remove superfluous casts. 2010-03-25 09:45:06 +01:00
Dylan Smith 7617cc4bcc comctl32/tests: Added scrolled listview test for LVM_GETSUBITEMRECT. 2010-03-03 11:52:28 +01:00
Dylan Smith 3952da836a comctl32/tests: Add NULL terminator to unicode string constant. 2010-03-03 11:52:07 +01:00
Dmitry Timoshkov 27e9b5bdb4 comctl32: Initialize item.mask before sending HDM_GETITEM message. 2010-02-22 12:08:33 +01:00
Dmitry Timoshkov c1fd55d6c9 comctl32: Listview should accept both unicode and ansi notifications.
Listview receives notifications not only from built-in header control,
but also from custom or subclassed application controls, there is no
need to assert(0) on application input, printing a FIXME is the maximum
we can do on an unknown input.
2010-02-18 15:01:01 +01:00
Nikolay Sivov 057267d85e comctl32/listview: Revert item width calculation to fix performance issues. 2010-02-08 17:49:47 +01:00
Jason Edmeades 81d8135424 comctl32/listview: Issue LVM_DELETEALLITEMS from WM_DESTROY. 2010-01-14 10:22:23 -06:00
Michael Stefaniuc 92e4e63353 comctl32/tests: Remove some superfluous casts around SendMessage(). 2009-12-28 12:27:14 +01:00
Michael Stefaniuc 93d45253cd comctl32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:24 +01:00
Nikolay Sivov 1e1c1310f5 comctl32/listview: Get rid of duplicated helper in tests. 2009-11-30 12:56:47 +01:00
Nikolay Sivov 78e7b3cf9c comctl32/listview: New hover value should be passed using LPARAM. 2009-11-30 12:56:30 +01:00
Nikolay Sivov ea058d22ba comctl32/listview: Add NM_HOVER notification. 2009-11-30 12:56:21 +01:00
Nikolay Sivov 999810566b comctl32/listview: Implement LVS_EX_HEADERINALLVIEWS. 2009-11-30 12:55:43 +01:00
Nikolay Sivov fc43895f49 comctl32/listview: Default column width in LVS_LIST to better value. 2009-11-30 12:53:40 +01:00
Nikolay Sivov 850ea2a711 comctl32/listview: Add support for LVFI_SUBSTRING. 2009-11-23 10:38:13 +01:00
Nikolay Sivov b7b7b7113e comctl32/listview: Fix find using partial string logic. 2009-11-23 10:38:00 +01:00
Nikolay Sivov 899a53eda5 comctl32/listview: Send LVN_ENDLABELEDIT in any case, but with null text if it's the same. 2009-11-23 10:37:03 +01:00
Nikolay Sivov f5f0763827 comctl32/listview: Don't forward WM_COMMAND (EN_KILLFOCUS) from Edit to parent window. 2009-11-23 10:36:51 +01:00
Nikolay Sivov c39268967d comctl32/listview: Do nothing on LVM_CANCELEDITLABEL if there's no label. 2009-11-23 10:36:41 +01:00
Nikolay Sivov ebea81f131 comctl32/tests: Release activation context handle when we're done with tests. 2009-10-21 16:05:59 +02:00
Nikolay Sivov a4b5c5db1c comctl32: Don't use additional heap allocated pointer to old window procedure. 2009-10-12 13:01:21 +02:00
Francois Gouget fd90aab3a4 comctl32/tests: Make test_ApproximateViewRect() static. 2009-10-08 12:17:31 +02:00
Aric Stewart c885bd16c7 comctl32/tests: LISTVIEW_ApproximateViewRect tests for LV_VIEW_ICON. 2009-10-07 12:22:22 +02:00
Nikolay Sivov d7117d312d comctl32/listview: Skip icon spacing tests when unsupported. 2009-09-24 14:23:49 +02:00
Nikolay Sivov 5e3c9925f8 comctl32/listview: Skip some header tests on version 4.0 module. 2009-09-24 14:23:42 +02:00
Nikolay Sivov df3f2a1b13 comctl32/listview: Skip LVS_EX_CHECKBOXES tests when this style is unsupported. 2009-09-23 12:33:32 +02:00
Nikolay Sivov fffb41f6a6 comctl32/header: Add XP SP3 workaround for Header tests. Fix window handle leak. 2009-09-09 13:14:09 +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
Alexandre Julliard 576a398338 comctl32/tests: Fix a number of listview message test failures. 2009-08-18 14:49:03 +02:00
Owen Rudge ce638952af comctl32/tests: Move v6 test initialisation routines into separate file. 2009-08-13 15:44:37 +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 e41d0dd7de comctl32/listview: Some tests to show we don't handle WM_SETREDRAW right. 2009-08-12 13:23:14 +02:00
Nikolay Sivov c96900b904 comctl32/listview: Enable column reordering. 2009-08-04 13:03:27 +02:00
Nikolay Sivov 86b480b828 comctl32/listview: Fix some test failures on comctl32 4.7x. 2009-08-03 15:03:02 +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 9e222c6cbb comctl32/listview: Additional tests for LVM_SETITEMSTATE for all items. 2009-07-24 11:10:25 +02:00
Nikolay Sivov af0f00b671 comctl32/listview: LVM_SETITEMSTATE - select all item case tests. 2009-07-22 11:08:53 +02:00
Nikolay Sivov 1b2a6a08aa comctl32/listview: Basic LVN_(BEGIN|END)SCROLL tests. 2009-07-08 20:13:35 +02:00
Nikolay Sivov 76c0d49b52 comctl32/listview: A basic test for column width default value. 2009-07-08 20:13:30 +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 faebaa575b comctl32/listview: More LVM_*HITTEST tests. 2009-07-07 11:11:19 +02:00
Nikolay Sivov c3e66a8f86 comctl32/listview: Fix some test failures on 4.7x. 2009-07-06 14:35:28 +02:00
Nikolay Sivov 809ef092e8 comctl32/listview: Basic LVM_GETITEMSPACING tests. 2009-07-06 14:35:26 +02:00
Nikolay Sivov ab527a6e0f comctl32/listview: Remove parent creation test. It's unrelated to ListView. 2009-07-03 13:05:52 +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 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 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 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
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 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 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 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
Nikolay Sivov f531271d70 comctl32/listview: Fix item count tests to be dpi aware. 2009-06-09 17:01:14 +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