Commit Graph

645 Commits

Author SHA1 Message Date
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
Alexandre Julliard
9e47c59427 comctl32: Actually grow the array in DPA_Grow. 2010-01-29 13:30:00 +01:00
Peter Dons Tychsen
a3528a7642 comctl32: Handle WM_NOTIFY correctly when the parent returns zero. 2010-01-22 13:09:01 +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
Nikolay Sivov
2e1aa43ab1 comctl32/tests: Skip test on <5.8x systems. 2009-12-28 11:55:39 +01:00
Nikolay Sivov
7deb277900 comctl32/comboex: Fix silly typo in CBEM_SETITEM handler (lParam wasn't set). 2009-12-24 12:15:41 +01:00
Nikolay Sivov
96d965f295 comctl32/comboex: Add test for internally sent Edit messages, remove corresponding comments. 2009-12-24 12:15:41 +01:00
Nikolay Sivov
ecc89bf6ef comctl32/comboex: Use subclass chain for internally used controls. 2009-12-24 12:15:41 +01:00
Nikolay Sivov
7fa3778d8c comctl32/rebar: Fix default just inserted band colors. 2009-12-23 14:27:30 +01:00
Nikolay Sivov
80ed866ff4 comctl32/tests: Explicitly create rebar for each test, cleanup main function a bit. 2009-12-23 14:27:30 +01:00
Nikolay Sivov
750ce6be35 comctl32/updown: Don't update buddy text if it's the same. 2009-12-23 14:27:30 +01:00
Paul Vriens
f0a35db253 comctl32/tests: Fix a test failure on older comctl32. 2009-12-22 15:40:00 +01:00
Nikolay Sivov
6cc141ff59 comctl32/updown: Simplify buddy subclassing using SetWindowSubclass chain. 2009-12-22 13:48:26 +01:00
Nikolay Sivov
705aee525a comctl32/tests: Use win_skip() while skipping subclass tests. 2009-12-22 13:48:25 +01:00
Nikolay Sivov
48d42d4a93 comctl32/tests: Some tests for buddy procedure subclassing. 2009-12-22 13:48:25 +01:00
Nikolay Sivov
8fc96f20a3 comctl32/tests: Add ability to create any number of edit buddies. 2009-12-22 13:48:25 +01:00
Michael Stefaniuc
93d45253cd comctl32/tests: Don't cast NULL to an integer type. 2009-12-21 15:01:24 +01:00
Paul Vriens
fb1fada93a comctl32/tests: Fix some test failures on older comctl32. 2009-12-15 11:44:56 +01:00
Nikolay Sivov
b65a7a0052 comctl32/treeview: Fix default colors set on creation. 2009-12-14 12:04:05 +01:00
Paul Vriens
1d0e02b63e comctl32/tests: Fix a test failure on older comctl32. 2009-12-10 16:53:32 +01:00
Nikolay Sivov
83f2135e0d comctl32/tests: Get rid of static handles, split tests finally. 2009-12-10 11:56:43 +01:00
Nikolay Sivov
bd8fc9c474 comctl32/tests: Don't forget to free array after tests. 2009-12-07 14:18:26 +01:00
Nikolay Sivov
0f003ef48d comctl32/tests: Free imagelist after use. 2009-12-07 14:18:26 +01:00
Nikolay Sivov
eaee84f4db comctl32/updown: Set width to default value on creation. 2009-12-03 14:02:54 +01:00
Nikolay Sivov
b2d89f4823 comctl32/updown: Specify all styles explicitly in tests. 2009-12-03 14:02:54 +01:00
Ilya Shpigor
fa92edfa48 comctl32: Implementation the WM_GETTEXT processing of datetime control. 2009-12-02 16:08:45 +01:00
Ilya Shpigor
e4e55ed8b4 comctl32: Test the WM_GETTEXT processing of datetime control. 2009-12-01 15:10:37 +01:00
Michael Stefaniuc
4376ccf3fc comctl32: Use FAILED instead of !SUCCEEDED. 2009-12-01 13:04:36 +01:00
Nikolay Sivov
d2e169fadd comctl32/header: Avoid uninitialized memory passed to HDM_INSERTITEM, some fields are always copied. 2009-11-30 12:56:53 +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
9cec74f300 comctl32/tab: Reset current selection on negative focus value. 2009-11-20 14:48:40 +01:00
Nikolay Sivov
33a1e827a7 comctl32/tab: Fix selection change when selected item is deleted. 2009-11-20 14:48:35 +01:00
Nikolay Sivov
336a68be54 comctl32/tab: Split tests to several functions not to depend from each other. 2009-11-20 14:48:31 +01:00
Nikolay Sivov
c044fa8a59 comctl32/monthcal: Don't pass uninitialized data to MCM_SETTODAY, test isn't about this. 2009-11-19 16:16:52 +01:00
Paul Vriens
9e73769112 comctl32/tests: Fix some test failures on comctl32 4.70. 2009-11-19 12:29:30 +01:00
Owen Rudge
482c454e50 comctl32/tests: Fix imagelist v6 test failures on XP. 2009-11-19 11:48:51 +01:00
Owen Rudge
5ce3af5b37 comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
This patch fixes a test failure if a user has a non-standard icon size 
set. Windows 7, for instance, offers more variation than previous 
versions of Windows in icon scaling. We should get the system icon 
metric and compare our icon size against that.
2009-11-19 11:48:38 +01:00
Owen Rudge
459361d4d6 comctl32/tests: Use defined flags instead of magic numbers in v6 tests. 2009-11-17 15:14:53 +01:00
Owen Rudge
9db87f13d3 shell32: Implement SHGetImageList and remove todo_wine from imagelist tests. 2009-11-17 15:14:53 +01:00