Commit Graph

246 Commits

Author SHA1 Message Date
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
Nikolay Sivov 26cce5550c comctl32/monthcal: Use the global HeapAlloc() wrappers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov d505c2dce7 comctl32/monthcal: Make sure set focus date is valid before using it (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 09:19:29 +02:00
Nikolay Sivov a56f49cdd5 comctl32/monthcal: Make sure set today date is valid before using it (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 09:19:27 +02:00
Nikolay Sivov 9231452a9c comctl32/monthcal: Initialize day field before setting final hit test result (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 09:19:22 +02: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
Nikolay Sivov 5d0a02db69 comctl32/monthcal: Implement MCS_NOSELCHANGEONNAV style.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 11:33:48 +09:00
Nikolay Sivov 2f2651a14e comctl32/monthcal: Take into account day name width when setting calendar column width.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:12 +09:00
Nikolay Sivov 7912acaab9 comctl32/monthcal: Added support for MCS_SHORTDAYSOFWEEK style.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:01 +09:00
Nikolay Sivov af7f8d536b comctl32/monthcal: Remove commented block.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:10 +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 c075d5aafd comctl32/monthcal: MCM_GETRANGE does not return BOOL values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 19:06:21 +09:00
Nikolay Sivov 035d0a1594 comctl32/monthcal: Fix title to use properly localized year/month format. 2015-06-18 21:41:02 +09:00
Nikolay Sivov 6be21eeb3f comctl32: Remove LoadString() fallback when loading from same module. 2015-05-18 19:59:28 +09:00
Andrew Eikum 75fbef2ded comctl32: Return the number of visible months for MCM_GETMONTHDELTA. 2013-08-30 11:12:54 +02:00
Andrew Talbot 23fde785ee comctl32: Avoid signed-unsigned integer comparisons. 2013-01-02 13:35:52 +01:00
Sergey Guralnik d54979e329 comctl32: Correct values passed in MCN_SELECT/MCN_SELCHANGE notifications. 2012-08-17 15:16:12 +02:00
Michael Stefaniuc 175eaf1074 comctl32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:29:01 +02:00
Owen Rudge c8c3c4be91 comctl32/datetime: Check dates are within range in SetSystemTime. 2012-03-12 10:45:47 +01:00
Owen Rudge 72f174192b comctl32/monthcal: Check both min and max ranges in IsDateInValidRange. 2012-03-12 10:45:18 +01:00
Thomas Faber 05253f900f comctl32: Fix MSVC build in monthcal.c. 2012-01-30 11:51:35 +01:00
Nikolay Sivov ea96417f83 comctl32/monthcal: Update pointer after reallocation (Valgrind). 2011-10-18 15:12:37 +02:00
Nikolay Sivov 40c783fcc1 comctl32/monthcal: After notification safely free buffer allocated on heap. 2011-10-03 09:45:33 -05:00
Nikolay Sivov 5e2ede6c4d comctl32/monthcal: Also invalidate today label while setting new today date. 2011-09-30 10:31:03 -05:00
Nikolay Sivov c28a1d019d comctl32/monthcal: Fix week numbers background color. 2011-09-30 10:30:57 -05:00
Nikolay Sivov 6766535408 comctl32/monthcal: Fix jump to today date. 2011-09-23 14:19:31 +02:00
Nikolay Sivov d3758e02b8 comctl32/monthcal: Properly adjust day of week in MCM_SETCURSEL. 2011-09-23 14:19:25 +02:00
Nikolay Sivov d6349844e6 comctl32/monthcal: Correct MCM_SETTODAY handler return value. 2011-09-23 14:19:18 +02:00
Nikolay Sivov efbb419621 comctl32/monthcal: Fix some day state problems. 2011-09-23 14:19:13 +02:00
Nikolay Sivov b11208e5f8 comctl32/monthcal: Fix MCM_GETMONTHRANGE with regard to multiple calendars and parameter handling. 2011-09-23 14:19:07 +02:00
Nikolay Sivov 23dfef0d9e comctl32/monthcal: Enable multiple calendars support. 2011-09-22 19:51:50 +02:00
Nikolay Sivov 229d4e2109 comctl32/monthcal: Fix today date box painting. 2011-09-20 16:21:40 +02:00
Nikolay Sivov 57a70f4924 comctl32/monthcal: Fix today label position. 2011-09-20 16:21:40 +02:00
Nikolay Sivov 0d3b04d033 comctl32/monthcal: Implement MCM_GETCALENDARCOUNT. 2011-09-20 16:21:40 +02:00
Nikolay Sivov ca533fca8c comctl32/monthcal: Fix MCM_SETSELRANGE for multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov 2c6443ae57 comctl32/monthcal: Fix MCM_SETCURSEL for multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov b83d9b3261 comctl32/monthcal: Fix hittesting in blank areas of multiple calendars case. 2011-09-19 17:56:05 +02:00
Nikolay Sivov fec346b36d comctl32/monthcal: Properly compute maximum date for control. 2011-09-15 15:41:41 +02:00
Nikolay Sivov e716421393 comctl32/monthcal: Store calendars matrix dimensions instead of overall count. 2011-09-15 15:41:41 +02:00
Gerald Pfeifer a17463b1e4 comctl32: Remove dead code from MONTHCAL_HitTest. 2011-09-08 11:22:04 +02:00
Nikolay Sivov 354d41685f comctl32/monthcal: Make day drawing helpers aware of multiple calendars. 2011-09-07 18:13:29 +02:00
Andrew Talbot 8a4b7f9f22 comctl32: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Nikolay Sivov 6cf25732dd comctl32/monthcal: Remove unused variable (Clang). 2011-07-04 13:41:05 +02:00
Piotr Caban f831f77515 comctl32: Use vssym32.h instead of tmschema.h. 2011-06-27 15:06:49 -05:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Nikolay Sivov 6d43470600 comctl32/monthcal: Get rid of empty slots in cached brushes array. 2011-04-04 11:51:58 +02:00
Nikolay Sivov 41a113e0ce comctl32/monthcal: Cache pens, fix line colour. 2011-04-04 11:51:53 +02:00
Nikolay Sivov 49088bf96d comctl32/monthcal: Fix today label position and text colour. 2011-04-04 11:51:48 +02:00