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
Nikolay Sivov
c111500458
comctl32/listview: Edit box should be destroyed on invalid index too (LVM_EDITLABEL).
2009-06-08 14:29:24 +02:00
Alexandre Julliard
84ccadeeee
comctl32/tests: Avoid size_t in traces.
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
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
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
Alexandre Julliard
448d48c3f4
comctl32/tests: Replace a listview macro by an explicit SendMessage.
2009-05-28 15:24:04 +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
ce12717c9e
comctl32/listview: Fix returning LVHT_ONITEMSTATEICON flag on hittesting.
2009-05-25 11:37:15 +02:00
Nikolay Sivov
691aa6e267
comctl32/tests: A bunch of ListView hittest tests.
2009-05-22 11:09:58 +02:00
Nikolay Sivov
d17afea70f
comctl32/tests: A basic test for ListView WM_SETREDRAW.
2009-05-21 16:17:51 +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
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
4a5e23a2f9
comctl32/listview: Select all items with LVM_SETITEMSTATE is blocked in LVS_SINGLESEL.
2009-05-11 14:51:43 +02:00
Nikolay Sivov
4bc8e87ab6
comctl32/listview: Add tests for LVS_NOSORTHEADER switchover.
2009-05-07 14:44:22 +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
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
8b26cce8f8
comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header.
2009-04-24 15:50:39 +02:00
Nikolay Sivov
3845ed795f
comctl32/tests: Tests for LVM_GETCOLUMNORDERARRAY: it actually uses HDM_GETORDERARRAY.
2009-04-24 15:50:32 +02:00
Nikolay Sivov
d30df7de06
comctl32/tests: Existing items aren't resorted after LVS_SORTASCENDING added.
2009-04-23 18:14:26 +02:00
Nikolay Sivov
946936c274
comctl32/tests: Remove tests failing on most platforms.
2009-04-23 14:22:07 +02:00
Nikolay Sivov
457c983ee3
comctl32/listview: Partial fix for LVM_GETSUBITEMRECT for item == -1.
2009-04-22 13:14:48 +02:00
Nikolay Sivov
09d6a6c8c9
comctl32/listview: Additional tests for LVM_GETSUBITEMRECT.
2009-04-22 13:14:30 +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
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
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
Nikolay Sivov
6b6d18d766
comctl32: Additional tests for ListView header creation.
2009-04-02 16:28:42 +02:00
Michael Stefaniuc
1513dd2073
comctl32/tests: Use LONG instead of long.
2009-04-02 16:28:30 +02:00
Nikolay Sivov
276c7a3bc6
comctl32: listview: Some tests showed delayed header creation in ListView control.
2009-04-01 17:10:21 +02:00
Nikolay Sivov
bdd1206ca5
comctl32/listview: Some tests for LVM_GETSUBITEMRECT.
2009-03-24 12:43:05 +01:00
Alexandre Julliard
f493122879
comctl32/tests: Set the listview image list after WM_CREATE has been processed.
2009-03-05 23:19:08 +01:00
Michael Stefaniuc
ac37f1b7fb
comctl32/tests: Do not cast the IDC_* defines to a LPSTR.
2009-01-05 12:35:06 +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
Michael Stefaniuc
06c4de0461
comctl32/tests: Use MAKELPARAM instead of "(LPARAM) MAKELONG".
2008-11-04 11:26:01 +01:00
James Hawkins
e1111a5bef
comctl32: Only log system messages.
2008-10-01 11:41:45 -05:00
James Hawkins
3e2ac662f1
comctl32: Fix a typo.
2008-09-08 12:47:22 +02:00
James Hawkins
99a5afa616
comctl32: Fix a failing test in win9x.
2008-09-03 14:21:42 +02:00
James Hawkins
f126c765c7
comctl32: Fix a failing test in XP.
2008-08-29 13:21:01 +02:00
James Hawkins
1258e4d8ff
comctl32: Fix a few failing tests in win2000.
2008-08-29 13:20:53 +02:00