Austin Lund
a4a60568a4
comctl32/tests: Fixed rebar layout tests that depend on system font widths.
2010-11-12 11:41:49 +01:00
Austin Lund
293e429296
comctl32/tests: Fixed rebar layout tests which depend on system font height.
2010-11-11 12:21:28 +01:00
Austin Lund
cddcf039fc
comctl32/tests: Changed rebar layout tests to load data dynamically.
2010-11-11 12:21:21 +01:00
Austin Lund
1f97cb2287
comctl32/tests: Change expect_band_content test to ensure line numbers are reported correctly on test failure.
2010-11-10 16:17:44 +01:00
Austin Lund
1eacb105b5
comctl32/tests: Fix band info tests that depend on system font heights.
2010-11-10 16:17:05 +01:00
Bernhard Übelacker
43aa5f6b2e
comctl32: Test for window messages of a property sheet with custom dialog proc.
2010-11-08 18:12:57 +01:00
Austin Lund
05d82b6376
comctl32/tests: Fixed toolbar tests for varing width of button strings.
2010-11-08 13:30:22 +01:00
Austin Lund
a07022a7e1
comctl32/tests: Fix toolbar size tests that depend on system font height.
2010-11-08 13:30:22 +01:00
Austin Lund
551d4077c5
comctl32/tests: Change toolbar size test data to load dynamically.
2010-11-08 13:30:22 +01:00
Austin Lund
6a819b102d
comctl32/tests: Added extra debugging information to toolbar size tests.
2010-11-05 14:38:36 +01:00
Nikolay Sivov
6ec621e835
comctl32/treeview: Make item data layout partially compatible with native one.
2010-11-01 16:15:05 +01:00
Gerald Pfeifer
42b1006925
comctl32: Fix test description in test_hittest.
2010-11-01 11:44:49 +01:00
Nikolay Sivov
4633fc5c03
comctl32/treeview: Fix TVN_DELETEITEM to use item that is about to be deleted.
2010-10-25 12:41:41 +02:00
Nikolay Sivov
04e5e9cfa0
comctl32/treeview: Accept null item handle as a root for TVM_DELETEITEM.
2010-10-25 12:41:41 +02:00
Austin Lund
23b00490c0
comctl32/tests: Fix ImageList tests for different device color depths.
2010-10-15 11:34:59 +02:00
Austin Lund
227b1fe2ca
comctl32/tests: Add tests for negative subitems independent of local settings.
2010-10-05 12:20:29 +02:00
Marko Nikolic
abed5b49b9
comctl32/tests: Removed sign comparison warnings.
2010-10-04 16:20:07 +02:00
Nikolay Sivov
f08938c381
comctl32/tab: Fix DRAWITEMSTRUCT filling when extra item data of a custom size is used.
2010-10-04 15:00:07 +02:00
Nikolay Sivov
66bad889f4
comctl32/treeview: Prevent item height to be calculated to zero value.
2010-10-04 15:00:07 +02:00
Nikolay Sivov
f9736bcc6e
comctl32/toolbar: Properly handle invalid arguments processing TB_ADDSTRING message.
2010-10-04 15:00:07 +02:00
Alexandre Julliard
55676e84ed
comctl32/tests: Make some variables static.
2010-10-01 13:35:49 +02:00
Nikolay Sivov
1b2f7517ee
comctl32/tab: Add a test for TCM_SETITEMEXTRA.
2010-09-28 12:51:01 +02:00
Austin Lund
3fd940b2a1
comctl32/listview: Fix test failures for subitem returned with negative coordinates.
2010-09-27 14:13:16 +02:00
Nikolay Sivov
b65423c546
comctl32/treeview: Erase background when painting over supplied hdc.
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
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Nikolay Sivov
acbd632039
comctl32/imagelist: Fix return value for IImageList_GetIconSize().
2010-08-23 13:37:02 +02:00
Nikolay Sivov
9b77425f6a
comctl32/imagelist: Fix return value from IImageList_SetBkColor().
2010-08-23 13:37:02 +02:00
Nikolay Sivov
1c82b3491a
comctl32/imagelist: Remove parameter check from IImageList_GetBkColor().
2010-08-23 13:37:02 +02:00
Nikolay Sivov
6db1d3c5b9
comctl32/imagelist: Fix reference leak in IImageList_Clone().
2010-08-23 13:37:01 +02:00
Nikolay Sivov
87847aa13c
comctl32/imagelist: Remove parameter check from IImageList_Clone().
2010-08-23 13:37:01 +02:00
Nikolay Sivov
eb2aae669c
comctl32/imagelist: Make IImageList_Merge() crash like it does on native.
2010-08-23 13:37:01 +02:00
Nikolay Sivov
d84cad6a06
comctl32/imagelist: Fail to create imagelist with zero or negative image dimensions.
2010-08-20 13:46:54 +02:00
Nikolay Sivov
66c9a73db5
comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters.
2010-08-20 13:46:49 +02:00
Nikolay Sivov
8bcdc9ad43
comctl32/tests: More imagelist tests to show broken parameter validation.
2010-08-20 13:46:45 +02:00
Nikolay Sivov
4023e0125f
comctl32/imagelist: Fix failure code for IImageList_Remove().
2010-08-20 13:46:40 +02:00
Nikolay Sivov
5ee4441c15
comctl32/imagelist: Fix failure code for IImageList_Draw().
2010-08-20 13:46:36 +02:00
Nikolay Sivov
33ee0cae46
comctl32/tests: Use reduced IMAGELISTDRAWPARAMS structure size for tests.
2010-08-20 13:46:33 +02:00
Nikolay Sivov
4d6c30f90f
comctl32/tests: Use better names for test functions, discover some new test failures.
2010-08-20 13:46:30 +02:00
Austin Lund
8fdb1bec12
comctl32/tests: DateTimePicker and MonthCalendar controls only support Gregorian calendar.
2010-08-19 17:32:18 +02:00
Austin Lund
c3f9a4c362
comctl32/tests: Do not perform comparison of dates if GetDateFormat fails.
2010-08-18 09:47:32 +02:00
Nikolay Sivov
ae1062c12d
comctl32/monthcal: Store all control colors in a single array.
2010-08-16 13:45:07 +02:00
Nikolay Sivov
76d3e1d553
comctl32/monthcal: Support new hittest fields for some cases.
2010-08-16 13:44:29 +02:00
Nikolay Sivov
94dfbcaad5
comctl32/tests: Remove some noise from function names.
...
Everything in this file is about Monthcal.
2010-08-04 13:26:11 +02:00
Nikolay Sivov
8e968fd290
comctl32/monthcal: Add some tests for post-V1 hittest fields.
2010-08-04 13:26:00 +02:00
Nikolay Sivov
279677b7d8
comctl32/treeview: Fix possible crash in TVS_SINGELEXPAND helper (Coverity).
2010-07-28 16:28:23 +02:00
Nikolay Sivov
6711780a8f
comctl32/tests: Merge one test function to existing tests, use explicit message numbers.
2010-07-26 18:38:32 +02:00
Nikolay Sivov
16dfb1a039
comctl32/treeview: Fix TVS_SINGLEEXPAND notifications order.
2010-07-26 18:38:32 +02:00
Nikolay Sivov
b3a61c1329
comctl32/treeview: Properly initialize expanded image index.
2010-07-26 18:38:32 +02:00
Michael Stefaniuc
7dfba50bca
comctl32: Remove the ignored common resource attributes.
2010-07-22 10:39:05 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Florian Köberle
42c5ff799a
comctl32: Call TREEVIEW_SendExpanded after expanding.
2010-07-19 14:38:17 +02:00
Dmitry Timoshkov
1066194f94
comctl32: Add a bunch of imagelist storage tests, make them pass under Wine.
2010-06-23 15:27:47 +02:00
Florian Köberle
2f77e2b93d
comctl32/tests: Test calculating the rect of a child item while handling TVN_ITEMEXPANDED.
2010-06-21 11:52:26 +02:00
Nikolay Sivov
138b2435f9
comctl32/tests: Some expand notifications tests.
2010-06-10 14:59:09 +02:00
Alex Balut
32f240bfc1
comctl32/tests: Added a test that checks whether setting a custom default button in a property sheet works.
2010-06-07 16:43:34 +02:00
Nikolay Sivov
60e467a6cd
comctl32/rebar: Fix index check condition for RB_SHOWBAND.
2010-06-07 13:48:27 +02:00
Nikolay Sivov
d926939b12
comctl32: Export subclass calls by names too.
2010-05-27 14:46:43 +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
Alexandre Julliard
f2b993d414
comctl32/imagelist: Pre-multiply the colors by the alpha channel when storing an image with alpha.
2010-05-16 18:22:53 +02:00
Alexandre Julliard
91948f9ce8
comctl32: Always alpha blend images for 32-bpp imagelists.
2010-05-14 16:17:56 +02:00
Alexandre Julliard
f02adf3e2b
comctl32: Generate an alpha channel if necessary when adding images to a 32-bit imagelist.
2010-05-14 16:17:36 +02:00
Gerald Pfeifer
29cc4c9193
comctl32/tests: Check for the outcome of the SendMessage calls in test_monthcal_size.
2010-05-14 11:04:24 +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
3ff0890c11
comctl32/tests: Add tests for the return values of TreeView_SelectItem in test_select.
2010-05-10 10:11:52 +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
Gerald Pfeifer
414b506909
comctl32: Remove variable iRet which is not really used from test_EnumMRUList.
2010-04-26 06:59:47 -05: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
Mikhail Maroukhine
6443d87543
comctl32: Fix compiler warnings.
2010-03-29 12:10:00 +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
Francois Gouget
2659ac14f8
comctl32/tests: fix an ok() call's trailing '\n'.
2010-03-22 10:48:30 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +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
Nikolay Sivov
006362567b
comctl32/toolbar: Fix possible null pointer dereference.
2010-03-02 11:12:05 +01:00
Reece Dunn
78ce24d632
comctl32/mru: In EnumMRUListA, ensure that the string is NULL terminated and the correct size is returned.
2010-02-26 13:02:33 +01:00
Alexandre Julliard
2432b0f6b9
comctl32/tests: Fix broken check of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:04:18 +01:00
Dmitry Timoshkov
27e9b5bdb4
comctl32: Initialize item.mask before sending HDM_GETITEM message.
2010-02-22 12:08:33 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +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
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
Owen Rudge
c0a6c5cd3f
comctl32/tests: Add hotspot/drag test for IImageList.
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
Owen Rudge
b37009ee80
comctl32/tests: Add further tests for IImageList.
2009-11-16 13:29:09 +01:00
Owen Rudge
a07c922fa3
comctl32/tests: Add tests for IImageList based on standard imagelist tests.
2009-11-16 13:27:54 +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
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
a04c6db804
comctl32/tests: Explicitly initialize window handle.
2009-10-23 14:40:40 +02: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
57577fb20b
comctl32/header: Don't leak Imagelist handle.
2009-10-21 16:05:59 +02:00