Commit Graph

44 Commits

Author SHA1 Message Date
Zhiyi Zhang ad698fc7be comctl32/datetime: Implement DTM_GETIDEALSIZE message.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 12:35:12 +01:00
Nikolay Sivov 988003cb74 comctl32/tests: Run some DateTime tests on version 6 too.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-29 20:28:59 +01:00
Nikolay Sivov 3845cc10e8 comctl32/tests: Link to comctl32.dll dynamically.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-24 16:03:00 +01:00
Nikolay Sivov 1ec91f592e comctl32/tests: Fully initialize message tests data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-29 17:17:16 +02:00
Nikolay Sivov ad566da137 comctl32/tests: Use win_skip() for tests that should not be skipped on Wine.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 11:26:36 +01:00
Nikolay Sivov a62d178744 comctl32/datetime: Use MCM_GETRANGE result directly in DTM_GETRANGE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:18 +09:00
Nikolay Sivov 6870144022 comctl32/monthcal: Always reset range flags and date limits on MCM_SETRANGE.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-15 10:15:13 +09:00
Nikolay Sivov 44ebba9d5e comctl32/tests: Preparation for switching __WINESRC__ on. 2013-10-22 20:19:17 +02:00
Nikolay Sivov f8ce7ed978 comctl32/tests: Remove useless message tracing. 2013-06-06 10:43:03 +02:00
Nikolay Sivov 3938bfd30d comctl32: Initialize id field for message tests. 2012-12-10 11:25:29 +01:00
Owen Rudge c8c3c4be91 comctl32/datetime: Check dates are within range in SetSystemTime. 2012-03-12 10:45:47 +01:00
Owen Rudge 300140e2cb comctl32/tests: Add test for DTM_SETSYSTEMTIME outside range limit. 2012-03-12 10:45:21 +01:00
Marko Nikolic 154d088eb9 comctl32/tests: Removed sign comparison warning in datetime tests. 2011-10-06 12:27:39 -05:00
Vincent Povirk 4d1fca24be comctl32: Use current month and year when checking day of month. 2011-03-31 23:47:26 +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
Paul Vriens 1d0e02b63e comctl32/tests: Fix a test failure on older comctl32. 2009-12-10 16:53:32 +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
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
Paul Vriens bfe67814f9 comctl32/tests: Fix some test failures on older comctl32 versions. 2009-10-12 12:13:52 +02:00
Nikolay Sivov b398d4434d comctl32/datetime: Block WM_SETTEXT message. 2009-10-09 11:50:29 +02:00
Nikolay Sivov ec3e9308da comctl32/monthcal: Drop exstyle parameter, it isn't used. 2009-10-05 14:57:26 +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
Paul Vriens f88d9ab195 comctl32/tests: Fix test failures with comctl32 <= 5.80. 2009-07-08 20:14:52 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Michael Stefaniuc d4b8948ce3 comctl32: Do not cast NULL. 2008-11-03 13:41:58 +01:00
Michael Stefaniuc 092b892f54 comctl32: HGDIOBJ is interchangeable with other handle types so don't cast. 2008-10-27 11:29:46 +01:00
Mikołaj Zalewski 41025d56e3 comctl32: datetime: Support literals in apostrophes. 2008-02-25 13:27:00 +01:00
Reece H. Dunn 743a63abc9 comctl32: Vista sends an unidentified message when destroying datetime and monthcal windows. 2008-02-07 12:56:14 +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 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +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
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
Kanit Therdsteerasukdi 2a79d96278 comctl32: datetime: Reject invalid flags in DTM_SETSYSTEMTIME.
Reject invalid flags in DTM_SETSYSTEMTIME i.e. when the flag is neither
GDT_VALID nor GDT_NONE when the style is set to DTS_SHOWNONE.  Corresponding
setters and message sequence tests were also added.
2007-03-19 13:08:36 +01:00
Kanit Therdsteerasukdi fed00cb82e comctl32: datetime: Return 1 in DTM_SETFORMAT when successful. 2007-03-16 11:18:30 +01:00
Kanit Therdsteerasukdi fe5471e717 comctl32: datetime: Reject out of range dates in DTM_SETSYSTEMTIME. 2007-03-14 13:14:02 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Kanit Therdsteerasukdi 3cdf24394f comctl32: datetime: Tests for events for date and time picker added. 2007-03-05 12:07:25 +01:00
Kanit Therdsteerasukdi 9928c494f9 comctl32: datetime: Initial tests for date and time picker. 2007-02-19 12:32:58 +01:00