Commit Graph

130 Commits

Author SHA1 Message Date
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
Nikolay Sivov 7bd581e62c comctl32/datetime: Use SDK defined class name instead of another local constant. 2009-10-02 11:50:11 +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 ad40c15ccc comctl32/datetime: If we already have a 4 digit year reset it on first char typed. 2009-09-30 14:31:58 +02:00
Nikolay Sivov b0d3db5b29 comctl32/monthcal: Copy SYSTEMTIME with a simple assignment. 2009-09-28 12:41:30 +02:00
Gerald Pfeifer d7876a2cd4 comctl32: Simplify DATETIME_Char. 2008-12-27 20:28:22 +01:00
Lei Zhang 6f64338b9d comctl32: Better day of the month input checking in datetime. 2008-11-26 13:28:56 +01:00
Lei Zhang 113a50a843 comctl32: Do ascii to integer conversion only once. 2008-11-26 13:28:43 +01:00
Lei Zhang 40bbe3da6f comctl32: Process WM_CHAR instead of WM_KEYDOWN for numbers in datetime. 2008-11-26 13:28:22 +01:00