Commit Graph

236 Commits

Author SHA1 Message Date
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
Nikolay Sivov 5a8be0bc20 comctl32/monthcal: Week numbers use title colour. 2011-04-04 11:51:43 +02:00
Gerald Pfeifer 1e74b6379c comctl32: Simplify MONTHCAL_PaintLeadTrailMonths. 2011-04-01 10:49:00 +02:00
Nikolay Sivov 3796f12710 comctl32/monthcal: Clean day painting function. 2011-03-28 17:31:03 +02:00
Nikolay Sivov 802ab38f0c comctl32/monthcal: Selection and abbreviations should use title colour. 2011-03-28 17:30:58 +02:00
Nikolay Sivov 6d4b96020e comctl32/monthcal: Cache brush handles. 2011-03-28 17:30:53 +02:00
Nikolay Sivov eb2dc5c900 comctl32/monthcal: Fix hit test for previous month. 2011-03-28 17:30:45 +02:00
Nikolay Sivov 2f65a83370 comctl32/monthcal: Move partially visible months painting outside of calendar loop. 2011-03-28 17:30:40 +02:00
Nikolay Sivov ddab5d8548 comctl32/monthcal: Remove outdated comment. 2011-03-28 17:30:33 +02:00
Nikolay Sivov 9ce376181a comctl32/monthcal: Use recently introduced enum in scroll buttons painting helper. 2010-08-16 13:45:14 +02:00
Nikolay Sivov ae1062c12d comctl32/monthcal: Store all control colors in a single array. 2010-08-16 13:45:07 +02:00