Commit Graph

3047 Commits

Author SHA1 Message Date
Sergey Khodych fa7c2b5c5f comctl32/toolbar: Use proper button index when freeing a string in TOOLBAR_DeleteButton. 2009-11-23 13:09:25 +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 90c4abe86f comctl32/listview: Add LVSIL_GROUPHEADER definition. 2009-11-23 10:37:44 +01:00
Nikolay Sivov 79c55c5dd1 comctl32/listview: Group control data members, there's no reasonable structure here. 2009-11-23 10:37:23 +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 3371ba9f73 comctl32/tab: Fix reading out of array bounds on TCM_SETCURSEL. 2009-11-20 14:48:27 +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
Nikolay Sivov b0861921b2 comctl32/listview: Compare item text on insert depending on A/W message. 2009-11-19 14:24:31 +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
Owen Rudge c0a6c5cd3f comctl32/tests: Add hotspot/drag test for IImageList. 2009-11-17 15:14:53 +01:00
Owen Rudge 341e6ed533 comctl32: Implement imagelist drag functions, GetOverlayImage. 2009-11-17 15:14:53 +01:00
Owen Rudge 2e9a6e96e3 comctl32: Implement GetImageRect, Get/SetIconSize, Get/SetBkColor. 2009-11-17 15:14:53 +01:00
Owen Rudge 9adc1b8fd6 comctl32/tests: Add test of IImageList_Merge function. 2009-11-17 15:14:53 +01:00
Nikolay Sivov 7caa61fde6 comctl32/imagelist: Make ImageList_Destroy just decrease refcount. Move actual destruction to ::Release. 2009-11-16 15:02:02 +01:00
Nikolay Sivov 4afc54540d comctl32/imagelist: Use defined flags instead of magic numbers in tests. 2009-11-16 15:01:34 +01:00
Nikolay Sivov 3e20458aca comctl32/imagelist: Get rid of magic field, use vtable pointer instead. Keep original layout. 2009-11-16 15:01:27 +01:00
Anders Jonsson c00b759415 comctl32: Fix typos. 2009-11-16 13:47:55 +01:00
Owen Rudge 76c7f28050 comctl32: Implement Copy, Merge and Clone methods in IImageList. 2009-11-16 13:30:01 +01:00
Owen Rudge b37009ee80 comctl32/tests: Add further tests for IImageList. 2009-11-16 13:29:09 +01:00
Owen Rudge 8a4a761683 comctl32: Implement SetOverlayImage, Replace, AddMasked, Draw, Remove, GetImageInfo. 2009-11-16 13:29:01 +01:00
Owen Rudge a07c922fa3 comctl32/tests: Add tests for IImageList based on standard imagelist tests. 2009-11-16 13:27:54 +01:00
Owen Rudge dff6be098e comctl32: Implement Add, ReplaceIcon, GetImageCount, SetImageCount in IImageList. 2009-11-16 13:27:37 +01:00
Marcus Meissner c2e0226d2f comctl32: Removed useless NULL check (Coverity). 2009-11-16 12:43:07 +01:00
Paul Vriens 54a01bf5bc comctl32/tests: Remove unused parameter. 2009-11-13 12:21:41 +01:00
Owen Rudge 856dda3288 comctl32/tests: Add IImageList creation test. 2009-11-13 12:14:46 +01:00
Owen Rudge a4f2ab9d14 comctl32: Add basic structure for IImageList interface. 2009-11-13 12:14:40 +01:00
Nikolay Sivov 459a0c4de9 comctl32/treeview: Collapse some message handlers. 2009-11-12 17:06:47 +01:00
Nikolay Sivov 073486569a comctl32/toolbar: Call handlers in more general way. 2009-11-12 17:06:35 +01:00
Nikolay Sivov 7b19d8bba6 comctl32/toolbar: Use single handler for TB_GETBUTTONTEXTW/TB_GETBUTTONTEXTA. 2009-11-12 17:06:26 +01:00
Nikolay Sivov 62a7373913 comctl32/toolbar: Use single handler for TB_SETBUTTONINFOW/TB_SETBUTTONINFOA pair. 2009-11-12 17:06:20 +01:00
Owen Rudge e1f3edef3e comctl32: Add support for scrolling during marquee selection. 2009-11-04 13:07:57 +01:00
Owen Rudge c1877a2d50 comctl32: Cancel marquee selection if we lose focus in listview. 2009-11-04 13:07:57 +01:00
Owen Rudge 038e36aded comctl32: Move marquee logic into separate function. 2009-11-04 13:07:57 +01:00
Owen Rudge 14991b78d8 comctl32: Add absolute version of iterator_frameditems. 2009-11-04 13:07:57 +01:00
Paul Vriens 9bd6887372 comctl32/tests: Use A-functions. 2009-10-28 16:07:48 +01:00
Nikolay Sivov eaa939e942 comctl32/tests: Release Imagelist handles when no needed anymore. 2009-10-26 11:19:25 +01:00
Nikolay Sivov 31ae6a902e comctl32/toolbar: Don't leak button strings. 2009-10-26 11:19:19 +01:00
Nikolay Sivov a04c6db804 comctl32/tests: Explicitly initialize window handle. 2009-10-23 14:40:40 +02:00
Nikolay Sivov a061d3a0d4 comctl32: Fix imagelist leak when switching LVS_EX_CHECKBOXES style. 2009-10-22 14:37:13 +02:00
Nikolay Sivov cd7cfd7451 comctl32/listview: Free ID array when removing all items. 2009-10-22 14:37:02 +02:00