Francois Gouget
e0e119e41f
comctl32: Typo and spelling fixes in comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-02 20:46:44 +02:00
Alexandre Julliard
e4e2e8e551
comctl32: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-29 11:38:38 +02:00
Zhiyi Zhang
cc893cdcab
comctl32/datetime: Change DATETIME_ReturnFieldWidth() to return width.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-26 21:04:53 +02:00
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
Zhiyi Zhang
b683b541fa
comctl32/datetime: Fix length passed to GetLocaleInfoW().
...
Fix fullday not being rendered when long date format is used.
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
Zhiyi Zhang
46dcf0c7cb
comctl32/datetime: Fix wrong format for DTS_SHORTDATECENTURYFORMAT.
...
DTS_SHORTDATECENTURYFORMAT should use short date format
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
db2a3b7028
comctl32: Use ARRAY_SIZE() macro.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:16:27 +01:00
Nikolay Sivov
7625a1bb72
comctl32: Remove confusing comments.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-09 09:19:48 +01:00
Hadrien Boizard
891540436f
comctl32: Use wine_dbgstr_point in TRACES.
...
Signed-off-by: Hadrien Boizard <h.boizard@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:30:41 +01:00
Michael Stefaniuc
903ea19122
comctl32: Use SetRect() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:23:36 +09: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
Frédéric Delanoy
1bf4e13b55
comctl32: Use BOOL type where appropriate.
2014-03-17 17:34:10 +01:00
André Hentschel
1776ded8e6
comctl32: Use boolean return values in boolean functions.
2014-02-04 11:15:26 +01:00
Frédéric Delanoy
ef2a8be648
comctl32: Clarify DATETIME_GetPrevDateField documentation.
2013-11-25 15:15:52 +01:00
Frédéric Delanoy
57d7f74d34
Assorted spelling fixes.
2013-11-21 19:44:46 +01:00
Frédéric Delanoy
411ef80ac7
comctl32: Use BOOL type where appropriate.
2013-10-22 16:37:40 +02:00
Andrew Talbot
85ebbadcb0
comctl32: Indentation fix.
2012-12-17 11:47:39 +01:00
Andrew Talbot
da71545319
comctl32: Remove unneeded address-of operators from array names.
2012-12-06 13:01:15 +01:00
Michael Stefaniuc
175eaf1074
comctl32: Avoid TRUE:FALSE conditional expressions.
2012-08-13 17:29:01 +02:00
Owen Rudge
ffbdd27268
comctl32/datetime: Fix AM/PM handling with 12-hour fields.
2012-03-12 10:46:41 +01:00
Owen Rudge
74d1c11684
comctl32/datetime: Allow entering 'AM' or 'PM' via keyboard.
2012-03-12 10:46:35 +01:00
Owen Rudge
9147e7fd22
comctl32/datetime: Don't check box if no valid date set.
2012-03-12 10:46:14 +01:00
Owen Rudge
9de240bd0e
comctl32/datetime: Don't allow an invalid year to be typed in.
2012-03-12 10:46:06 +01:00
Owen Rudge
3f93230812
comctl32/datetime: Ensure up/down/home/end increments remain within bounds.
2012-03-12 10:45:59 +01:00
Owen Rudge
c8c3c4be91
comctl32/datetime: Check dates are within range in SetSystemTime.
2012-03-12 10:45:47 +01:00
Andrew Talbot
072ca07de9
comctl32: Remove redundant function declaration.
2011-08-22 16:14:32 +02:00
Vincent Povirk
ae608e6ec3
comctl32: Validate the day of month when scrolling through years.
2011-03-31 23:48:05 +02:00
Vincent Povirk
0d8775c9f9
comctl32: When entering a month or year, keep the day in range.
2011-03-31 23:47:33 +02:00
Vincent Povirk
4d1fca24be
comctl32: Use current month and year when checking day of month.
2011-03-31 23:47:26 +02:00
Vincent Povirk
08a4c8611b
comctl32: Validate text entered in a datetime by the user.
2011-03-10 12:54:02 +01:00
Nikolay Sivov
f8ba490e58
comctl32/datetime: Fix use of out-of-scope local buffer (Coverity).
2011-02-25 11:09:06 +01:00
Alexandre Julliard
96ed854d35
comctl32/datetime: Fix incorrect use of the ScreenToClient function.
2010-10-05 14:03:33 +02:00
Andrew Talbot
2061bf5f38
comctl32: Constify some variables.
2010-08-02 12:55:21 +02:00
Huw Davies
1af1784430
comctl32: Silence a few compiler warnings.
2010-05-05 17:59:41 +02:00
Gerald Pfeifer
8101a13eaf
comctl32: Remove variable old which is not really used from DATETIME_LButtonDown.
2010-04-26 06:59:37 -05:00
Mikhail Maroukhine
bd6f218165
comctl32: Fix compiler warnings with flag -Wcast-qual.
2010-03-26 10:32:33 +01:00
Nikolay Sivov
b1b54ae39f
comctl32/datetime: Use user locale for format.
2010-03-15 14:18:06 +01:00
Nikolay Sivov
7d6412c82d
comctl32/datetime: Free internal data completely on control destruction.
2009-12-07 14:18:26 +01:00
Ilya Shpigor
fa92edfa48
comctl32: Implementation the WM_GETTEXT processing of datetime control.
2009-12-02 16:08:45 +01:00
Nikolay Sivov
a914372586
comctl32/datetime: Use SDK class name for inner button window.
2009-10-12 13:01:48 +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
a096ba4c5b
comctl32/datetime: Fix wrong assumption about DTN_DATETIMECHANGE flags, add DTN_CLOSEUP notifications.
2009-10-12 13:01:35 +02:00
Nikolay Sivov
8431bed5f6
comctl32/datetime: Get rid of duplicated helper.
2009-10-12 13:01:28 +02:00
Nikolay Sivov
4651624d35
comctl32/monthcal: Simplify parameter set of day of week calculation helper.
2009-10-12 13:00:30 +02:00
Nikolay Sivov
d083e7701b
comctl32/datetime: Draw field text horizontally centered.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
f27e37a22f
comctl32/datetime: Use locale data to compute field widths for day and month.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
c93a520783
comctl32/datetime: Fix selections painting - use text rectangle, not whole field.
2009-10-09 11:50:29 +02:00
Nikolay Sivov
26ab381ffa
comctl32/datetime: Properly handle hit on separators and empty control area.
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
Nikolay Sivov
c8f35a136d
comctl32/monthcal: Fix the way a first day of week is handled.
2009-10-08 12:11:24 +02:00