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
Paul Vriens
41099b0ff7
comctl32/tests: Fix some test failures on older comctl32.
2009-10-20 14:00:36 +02:00
Ričardas Barkauskas
a8f89a2ffa
comctl32/propsheet: Test and fix for crash processing PSM_INDEXTOHWND with no longer valid handle.
2009-10-19 14:44:57 +02:00
Nikolay Sivov
1ab851a1bd
comctl32/monthcal: Explicitly set required control size.
2009-10-19 11:45:20 +02:00
Nikolay Sivov
5517209a24
comctl32/header: Process input order array more accurately.
2009-10-19 11:45:17 +02:00
Nikolay Sivov
76859b0f47
comctl32/treeview: Erase background on WM_PAINT if BeginPaint() tells us to do it.
2009-10-19 11:45:12 +02:00
Nikolay Sivov
cbdc99cdba
comctl32/monthcal: Get/set unicode format flag using MCM_[GET|SET]UNICODEFORMAT.
2009-10-16 13:36:01 +02:00
Nikolay Sivov
f394bed597
comctl32/tooltips: Test the way structure size field is validated.
2009-10-15 14:10:59 +02:00
Nikolay Sivov
98a7d8cf9d
comctl32/tooltips: Fix an obviously wrong structure size check.
2009-10-15 14:10:32 +02:00
Nikolay Sivov
e1de222e4e
comctl32/comboex: Handle NULL item text case to avoid crash.
2009-10-14 11:25:34 +02:00
Paul Vriens
3c130309d3
comctl32/tests: Fix a test failure on older comctl32 versions.
2009-10-13 11:28:09 +02:00
Nikolay Sivov
5a244bc863
comctl32/monthcal: Fix today link test.
2009-10-12 13:01:54 +02:00
Nikolay Sivov
f12f948849
comctl32/datetime: It isn't allowed to change DTS_SHOWNONE after creation.
2009-10-12 13:01:42 +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
Nikolay Sivov
22dddce999
comctl32/monthcal: Fix a test skip condition - zero is a valid day of week.
2009-10-12 13:00:08 +02:00
Nikolay Sivov
18857222ec
comctl32/monthcal: Handle September 1752 with a special case - it's a 19 day month.
2009-10-12 12:59:53 +02:00
Nikolay Sivov
2906aaf605
comctl32/monthcal: Process UpDown year control through subclass procedure.
2009-10-12 12:59:31 +02:00
Paul Vriens
bfe67814f9
comctl32/tests: Fix some test failures on older comctl32 versions.
2009-10-12 12:13:52 +02:00
Joel Holdsworth
84cb7031f4
comctl32/tests: Added tests for ImageList_DrawIndirect.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
b398d4434d
comctl32/datetime: Block WM_SETTEXT message.
2009-10-09 11:50:29 +02:00
Francois Gouget
fd90aab3a4
comctl32/tests: Make test_ApproximateViewRect() static.
2009-10-08 12:17:31 +02:00
Paul Vriens
87441ff83c
comctl32/tests: Fix some test failures on older comctl32 versions.
2009-10-08 12:17:30 +02:00
Nikolay Sivov
c68324dfed
comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_DAYSTATE flag and a single calendar control.
2009-10-08 12:16:57 +02:00
Nikolay Sivov
9e75962ec5
comctl32/monthcal: Fix a nice typo in test message.
2009-10-07 12:23:17 +02:00
Aric Stewart
c885bd16c7
comctl32/tests: LISTVIEW_ApproximateViewRect tests for LV_VIEW_ICON.
2009-10-07 12:22:22 +02:00
Ge van Geldorp
e1b5ca70bb
comctl32/tests: Fix misc test on Win7.
2009-10-06 11:59:56 +02:00
Nikolay Sivov
2d2edc9a83
comctl32/monthcal: Fix parameter validation in MCM_SETCURSEL handler.
2009-10-06 11:57:08 +02:00
Nikolay Sivov
f65c2f1d63
comctl32/monthcal: Check configured selection range max width in MCM_SETSELRANGE handler.
2009-10-06 11:56:40 +02:00
Nikolay Sivov
2c928de9e2
comctl32/monthcal: Parameter fixes for MCM_SETSELRANGE handler: swap selection bounds, store day of week.
2009-10-06 11:56:33 +02:00
Nikolay Sivov
b97697dbe7
comctl32/monthcal: Check range limits in MCM_SETCURSEL.
2009-10-05 14:58:14 +02:00
Nikolay Sivov
96022da6c8
comctl32/monthcal: Implement MCM_GETMONTHRANGE for GMR_VISIBLE flag, single calendar control only.
2009-10-05 14:57:37 +02:00
Nikolay Sivov
ec3e9308da
comctl32/monthcal: Drop exstyle parameter, it isn't used.
2009-10-05 14:57:26 +02:00
Paul Vriens
a7633d783d
comctl32/tests: Fix some test failures (MCM_GETSELRANGE).
2009-10-05 13:46:00 +02:00
Paul Vriens
0a6c2c86be
comctl32/tests: Fix some test failures (MCM_SETUNICODEFORMAT and MCM_GETUNICODEFORMAT).
2009-10-05 13:46:00 +02:00
Paul Vriens
efaa25fe66
comctl32/tests: Fix some test failures (MCM_SETCURSEL and MCM_GETCURSEL).
2009-10-05 13:46:00 +02:00
Paul Vriens
0d726970c6
comctl32/tests: Fix some test failures (MCM_SETRANGE and MCM_GETRANGE).
2009-10-05 13:46:00 +02:00
Paul Vriens
1dbab05364
comctl32/tests: Fix some test failures on older comctl32 versions.
2009-10-05 13:46:00 +02:00
Paul Vriens
46bba98bdf
comctl32/tests: Fix some test failures.
2009-10-02 11:51:16 +02:00
Nikolay Sivov
5d530fee54
comctl32/monthcal: Fix parameter validation in MCM_SETMAXSELCOUNT handler.
2009-10-02 11:50:47 +02:00
Nikolay Sivov
3df0823085
comctl32/monthcal: Changing MCS_MULTISELECT isn't allowed after creation, set default value properly.
2009-10-02 11:50:41 +02:00
Michael Stefaniuc
4ee851452b
comctl32/tests: Silence some Win64 compile warnings.
...
"warning: cast to pointer from integer of different size"
2009-10-02 11:49:38 +02:00
Nikolay Sivov
9557376138
comctl32/datetime: Always store a recalculated day of week instead of a value passed in (DTM_SETSYSTEMTIME).
2009-10-01 11:35:06 +02:00
Nikolay Sivov
99ded940e1
comctl32/datetime: Some DTM_SETSYSTEMTIME tests.
2009-10-01 11:34:58 +02:00
Nikolay Sivov
aae85b4d68
comctl32/datetime: Separate tests from each other.
2009-10-01 11:34:49 +02:00
Ge van Geldorp
6eb6e31e05
comctl32/tests: Fix toolbar test on comctl32 version 4.72.
2009-09-29 16:10:59 +02:00
Nikolay Sivov
c685729b72
comctl32/monthcal: Fix locale dependent test failure.
2009-09-29 14:22:35 +02:00
Nikolay Sivov
484ef1dcbf
comctl32/updown: Fix some test failures on Win95 (comctl32 4.0).
2009-09-29 14:22:35 +02:00
Nikolay Sivov
74eca56acb
comctl32/monthcal: Minimal rectangle should be zero based.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
1f41db4c2f
comctl32/monthcal: Use a single calendar for hittesting tests, make point calculation at runtime.
2009-09-29 14:22:34 +02:00
Nikolay Sivov
69080d6d29
comctl32/monthcal: Add parameter validation to MCM_HITTEST handler.
2009-09-28 12:43:57 +02:00
Nikolay Sivov
1224cc461d
comctl32/monthcal: Fix timestamp storing on MCM_SETRANGE/MCM_SETSELRANGE.
2009-09-28 12:43:50 +02:00
Nikolay Sivov
a44f03518e
comctl32/monthcal: Fix some bugs with date range.
2009-09-28 12:42:26 +02:00
Nikolay Sivov
d66dcb4ff8
comctl32/monthcal: Store full date info for selection at creation time.
2009-09-28 12:42:11 +02:00
Nikolay Sivov
0617baf2c3
comctl32/monthcal: Make tests not depend on each other.
2009-09-28 12:41:58 +02:00
Alexandre Julliard
d0aaae9987
comctl32/tests: Use UDM_GET/SETPOS instead of UDM_GET/SETPOS32 for compatibility with old versions.
2009-09-25 15:13:55 +02:00
Alexandre Julliard
ae2b8a6e97
comctl32/tests: Fix some rebar tests on older comctl32 versions.
2009-09-25 15:13:25 +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
f684bbaef7
comctl32/updown: Update buddy on base change.
2009-09-22 16:25:29 +02:00
Nikolay Sivov
7ebca40912
comctl32/updown: Additional test for display base.
2009-09-22 16:25:23 +02:00
Nikolay Sivov
4efa9f5e43
comctl32/updown: Fix control behaviour for UDS_SETBUDDYINT style.
2009-09-22 16:25:13 +02:00
Nikolay Sivov
2f9d29b42b
comctl32/updown: Show that UDS_SETBUDDYINT switching doesn't affect behaviour for already created control.
2009-09-22 16:25:02 +02:00
Nikolay Sivov
6be1bade1a
comctl32/updown: Make tests independent, drop unrelated tests.
2009-09-22 16:24:53 +02:00
Nikolay Sivov
0f670168e4
comctl32/trackbar: Protect from negative tic count in recalculation helper.
...
Fix for regression introduced in 42c83b9dc7
2009-09-18 08:56:09 -05:00
Nikolay Sivov
69bcb112f9
comctl32/dpa: Check for DPA_LoadStream() presence. Merge original test function with save tests.
2009-09-16 15:02:50 -05:00
Nikolay Sivov
d82fb3d308
comctl32/dpa: Fix DPA_Merge() test failures on old 4.7x comctl32.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c1513c6bde
comctl32/dpa: Implement DPA_SaveStream() with tests.
2009-09-15 16:41:27 -05:00
Nikolay Sivov
c8f8e5da11
comctl32/dpa: Fix parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
b07ca01527
comctl32/dpa: Separate tests for parameter validation in DPA_LoadStream().
2009-09-15 16:41:27 -05:00
Nikolay Sivov
3b6ac3000f
include: Move some definitions to public header, use PSDK names.
2009-09-11 12:13:25 +02:00
Nikolay Sivov
7044ac8751
comctl32/dpa: Fix DPA_Merge() for DPAM_INTERSECT option.
2009-09-11 12:11:50 +02:00
Nikolay Sivov
e97fcdd1bb
comctl32/dpa: Some DPA_Merge tests.
2009-09-11 12:11:35 +02:00
Nikolay Sivov
2c190ab438
include: Move some documented DPA definitions to public header, use PSDK names.
2009-09-10 10:52:29 +02:00
Nikolay Sivov
e7304066d1
comctl32/dpa: Split tests to several functions to avoid undesired dependencies.
2009-09-10 10:51:07 +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
d9ebf1962c
comctl32/header: Implement HDS_NOSIZING style with tests.
2009-09-08 13:42:55 +02:00
Nikolay Sivov
a4c22a142c
comctl32/header: Implement HDF_FIXEDWIDTH format flag.
2009-09-08 13:42:36 +02:00
Nikolay Sivov
5e1f5ebf6c
comctl32/listview: Implement LVS_EX_TRANSPARENTBKGND style.
2009-09-08 13:42:24 +02:00
Nikolay Sivov
77729e23f2
comctl32/trackbar: Drop initial parent creation tests, they are nothing to do with control testing.
2009-09-08 12:11:33 +02:00
Nikolay Sivov
629eb23a11
comctl32/trackbar: TBM_SETTIC processing shouldn't be affected by TBS_AUTOTICKS style.
2009-09-08 12:11:27 +02:00
Nikolay Sivov
5594a5f960
comctl32/trackbar: Default to TBTS_TOP position on creation.
2009-09-08 12:11:19 +02:00
Nikolay Sivov
42c83b9dc7
comctl32/trackbar: Fix tic count calculation.
2009-09-02 15:33:10 +02:00
Jan de Mooij
2f8e5da90f
comctl32/propsheet: Update position of hidden buttons too.
2009-09-01 17:37:12 +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
Ge van Geldorp
93140f32a0
comctl32/tests: Adjust message sequences for Win7 (trackbar).
2009-08-31 12:41:20 +02:00
Ge van Geldorp
ae516dbac9
comctl32/tests: Adjust message sequences for Win7 (updown).
2009-08-31 12:19:30 +02:00
Ge van Geldorp
bc76560b56
comctl32/tests: Adjust message sequences for Win7 (monthcal).
2009-08-31 12:19:26 +02:00
Alexandre Julliard
5a0deb25e1
comctl32/tests: Fix status test failures on older Windows versions.
2009-08-29 16:48:56 +02:00
Alexandre Julliard
a561c5d49f
comctl32/tests: Fix some toolbar test failures on older Windows versions.
2009-08-29 16:48:56 +02:00
Juan Lang
390a248e06
comctl32: Return the number of characters copied in WM_GETTEXT even if the buffer is too small.
2009-08-27 11:01:09 +02:00
Alexandre Julliard
6369d7a08b
comctl32/tests: Fix tooltips test failures on older Windows versions.
2009-08-26 13:09:11 +02:00
Alexandre Julliard
454a7fde33
comctl32/tests: Fix tab control test failures on older Windows versions.
2009-08-26 13:09:05 +02:00
Nikolay Sivov
03a3207cc7
comctl32/tests: Move message testing helpers to header.
2009-08-24 15:17:32 +02:00
Francois Gouget
544f882918
comctl32/tests: Add a trailing '\n' to ok() calls.
2009-08-19 12:07:24 +02:00
Alexandre Julliard
d649320045
comctl32/tests: Fix the property sheet tests on older Windows versions.
2009-08-18 14:49:21 +02:00
Alexandre Julliard
576a398338
comctl32/tests: Fix a number of listview message test failures.
2009-08-18 14:49:03 +02:00
Nikolay Sivov
f08747cbfc
comctl32/tab: Init TCITEM fields in TCM_GETITEM when invalid index passed.
2009-08-17 15:53:12 +02:00
Nikolay Sivov
031c497a5a
comctl32/tab: Check destination pointer for NULL in TCM_GETITEM handler.
2009-08-17 15:53:06 +02:00
Andrew Eikum
70f4ce36a0
comctl32/tests: Add tests for wizard dialog navigation.
2009-08-14 13:59:08 +02:00
Owen Rudge
1556fbf86c
comctl32/tests: Add basic test for IImageList using SHGetImageList.
2009-08-13 15:51:07 +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
1dfd55ff9a
comctl32/treeview: Fix test failure on Vista.
2009-08-12 17:04:37 +02:00
Nikolay Sivov
4a9a432841
comctl32/treeview: Fix some test failures on XP and higher.
2009-08-12 17:04:37 +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
6bcdc69ec0
comctl32/treeview: Check passed handle value in WM_COMMAND handler.
2009-08-07 11:39:28 +02:00
Nikolay Sivov
83c9cdb797
comctl32/treeview: Use separate pointer for currently edited item.
2009-08-07 11:39:20 +02:00
Nikolay Sivov
861fb2eddd
comctl32/treeview: Handle EN_KILLFOCUS in WM_COMMAND handler.
2009-08-06 17:26:34 +02:00
Nikolay Sivov
578e872b31
comctl32/treeview: Some tests to show edit item label problems.
2009-08-06 17:26:34 +02:00
Nikolay Sivov
0adb4ef423
comctl32/treeview: Make tests not depend from each other, replace some magics with macros.
2009-08-06 17:26:33 +02:00
Nikolay Sivov
b32bccb4da
comctl32/treeview: Use a common structure for tests (as we use already for others).
2009-08-06 17:26:33 +02:00
Alexandre Julliard
66e83d2156
comctl32/tests: Fix some test failures on older versions.
2009-08-05 15:30:10 +02:00