Commit Graph

187 Commits

Author SHA1 Message Date
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
James Hawkins ba1e75d9f6 comctl32: Properly set and store the default icon spacing. 2008-07-08 10:48:21 +02:00
James Hawkins e95bb17b4a comctl32: Remove an assumption that causes test failures if default icon spacing is not 43x43. 2008-06-30 12:47:42 +02:00
Francois Gouget 7857cf3dc7 A couple of spelling fixes. 2008-06-18 16:48:29 +02:00
Tomasz Jezierski - Tefnet 4e224e73c4 comctl32/tests: Fix for setting wrong initial position in listbox. 2008-05-27 19:34:54 +02:00
Tomasz Jezierski 1f051b8a7d comctl32: Conformance test for multiple selection in listbox. 2008-05-21 14:26:44 +02:00
Guy Albertelli 09cb415109 listview: Return correct value from WM_NOTIFYFORMAT with test. 2008-05-08 11:11:03 +02:00
Guy Albertelli 7fb21244d9 listview: Correct return value from LVM_GETORIGIN including tests for this.
Tests to validate return value of the LVM_GETORIGIN message and fix our
implementation.
2008-04-28 14:22:39 +02:00
Lei Zhang fe966335fd comctl32: Implement listview checkbox toggle. 2008-03-20 14:27:35 +01:00
Lei Zhang 778c04db07 comctl32: Add listview checkbox toggle test. 2008-03-20 14:27:35 +01:00
Francois Gouget 891e3d17fd comctl32/tests: Don't use 0xaa to avoid any confusion when running with +heap. 2008-03-05 12:19:17 +01:00
Francois Gouget e5b4c0f84b comctl32/tests: Call InitCommonControlsEx() if available, fall back to InitCommonControls() for the older controls, and skip the tests altogether for the newer ones. 2008-02-05 13:26:48 +01:00
Francois Gouget 7a5497b5c0 comctl32/tests: InitCommonControlsEx() is missing on Windows 95 so call InitCommonControls() instead. 2007-12-10 12:06:16 +01:00
Jason Edmeades f6631265f3 comctl32: Listview fails to add a column if mask=0. 2007-08-17 12:01:37 +02:00
Francois Gouget c9533adc52 comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it. 2007-05-29 12:13:38 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 6055d04f07 comctl32/tests: Fix some problems revealed by compilation in 64-bit mode. 2007-05-24 11:36:23 +02:00
Francois Gouget b8f517b063 comctl32/tests: Add missing '\n's in ok() calls. 2007-03-14 12:10:44 +01:00
George Gov aa685beb07 comctl32: Add some listview message tests. 2007-03-13 21:32:36 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Felix Nawothnig 7b99592975 comctl32: Fix my last patch.
My last patch was wrong and caused some nasty regressions. Mapping 
CLR_DEFAULT to the global defaults seem to be what native does.
2007-03-12 12:03:25 +01:00
Felix Nawothnig 08670ee725 comctl32: Remove clrTextBkDefault member from LISTVIEW_INFO and fix (clrTextBk == CLR_DEFAULT) handling for custom drawing. 2007-03-09 21:18:10 +01:00
Felix Nawothnig 8677069c26 comctl32: Add a failing custom draw related test. 2007-03-09 21:17:55 +01:00
Felix Nawothnig 9badfb50cf comctl32: Update header window in listview WM_PAINT handler. 2007-02-28 21:04:15 +01:00
Felix Nawothnig f671aed503 comctl32: Add listview WM_PAINT message sequence tests. 2007-02-28 21:04:05 +01:00
Mikołaj Zalewski f3ebf1c7f4 comctl32: listview: Set the style in WM_CREATE. 2007-02-26 13:58:31 +01:00
Mikołaj Zalewski 3ea059c9d7 comctl32: listview: Create the LISTVIEW_INFO in WM_NCCREATE. 2007-02-08 13:01:18 +01:00
Duane Clark 2575c37b22 comctl32: listview: Allow LVIF_STATE flag in subitems. 2007-01-08 21:00:59 +01:00
Frank Richter 8002c49ede comctl32: listview: Fix getting user params and subitems.
When querying a listview subitem for the user param, the main item's
user param is returned. Also, when a subitem is custom-drawn, the main
item's user param is passed along.
2006-12-29 20:55:04 +01:00
Michael Ploujnikov a348e0936a comctl32/tests: Win64 printf format warning fixes. 2006-10-13 15:46:06 +02:00
Francois Gouget 20eb2f9998 comctl32: Fix LVM_GETITEM/LVIF_STATE so it only returns the bits it
has been asked for, and sets all the others to zero (with conformance
test).
2006-10-03 20:18:57 +02:00
Francois Gouget 222c167969 Assorted spelling fixes. 2006-09-29 16:28:30 +02:00
Andrew Talbot 8d1e492ad3 comctl32/tests: Write-strings warnings fix. 2006-07-20 12:11:18 +02:00
Huw Davies f01ae8ace9 comctl32: All items should be marked as unchecked when LVS_EX_CHECKBOXES is initially set.
When a new item is added with LBS_EX_CHECKBOXES already set then that item is marked as unchecked.
2006-07-18 11:09:27 +02:00
Andrew Talbot b93f547a1e comctl32/tests: Write-strings warnings fix. 2006-07-03 11:58:41 +02:00
Mike McCormack 13115d8cf6 comctl32: Add a short test for the listview. 2006-06-15 11:39:29 +02:00