=head1 NAME Win32::GUI::MonthCal - Create and manipulate MonthCal controls =head1 DESCRIPTION [TBD] =for comment $Id: per_package_method_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 METHODS L apply to most windows, controls and resources. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 new B Creates a new MonthCal object; can also be called as PARENT->AddMonthCal(%OPTIONS). Class specific B<%OPTIONS> are: -daystate => 0/1 (default 0) Set/Unset daystate style. -multiselect => 0/1 (default 0) Set/Unset multiselect style. -notoday => 0/1 (default 0) Set/Unset notoday style. -notodaycircle => 0/1 (default 0) Set/Unset notodaycircle style. -weeknumber => 0/1 (default 0) Set/Unset weeknumber style. See also the L. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 BackColor B Gets or sets the background color displayed between months. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 BackMonthColor B Gets or sets the background color displayed within the month. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 BackTitleColor B Gets or sets the background color displayed in the calendar's title. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetColor B Retrieves the color for a given portion of a month calendar control. B : MCSC_BACKGROUND = 0 : the background color (between months) MCSC_TEXT = 1 : the dates MCSC_TITLEBK = 2 : background of the title MCSC_TITLETEXT = 3 : text color of the title MCSC_MONTHBK = 4 : background within the month cal MCSC_TRAILINGTEXT = 5 : the text color of header & trailing days =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetCurSel B Retrieves the currently selected date in a four elements array (year, month, day, dayofweek). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetFirstDayOfWeek B Retrieves the first day of the week for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMaxSelCount B Retrieves the maximum date range that can be selected in a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMaxTodayWidth B Retrieves the maximum width of the "today" string in a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMinReqRect B Retrieves the minimum size required to display a full month in a month calendar control =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMonthDelta B Retrieves the scroll rate for a month calendar control. The scroll rate is the number of months that the control moves its display when the user clicks a scroll button. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetMonthRange B Retrieves date information that represents the high and low limits of a month calendar control's display. Return an array (yearmin, monthmin, daymin, dayofweekmin, yearmax, monthmax, daymax, dayofweekmax). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetRange B Retrieves the minimum and maximum allowable dates set for a month calendar control =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetRangeMax B Retrieves the maximum allowable date set for a month calendar control =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetRangeMin B Retrieves the minimum allowable date set for a month calendar control =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetSelRange B Retrieves date information that represents the upper and lower limits of the date range currently selected by the user. Return an array (yearmin, monthmin, daymin, dayofweekmin, yearmax, monthmax, daymax, dayofweekmax). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetToday B Retrieves the date information for the date specified as "today" for a month calendar control. Return an array (year, month, day, dayofweek). =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 GetUnicodeFormat B Retrieves the UNICODE character format flag for the control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 HitTest B Determines which portion of a month calendar control is at a given point on the screen. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetColor B Sets the color for a given portion of a month calendar control. B : MCSC_BACKGROUND = 0 : the background color (between months) MCSC_TEXT = 1 : the dates MCSC_TITLEBK = 2 : background of the title MCSC_TITLETEXT = 3 : text color of the title MCSC_MONTHBK = 4 : background within the month cal MCSC_TRAILINGTEXT = 5 : the text color of header & trailing days =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetCurSel B Sets the currently selected date for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetDayState B Sets the day states for all months that are currently visible within a month calendar control. Each MONTHDAYSTATELIST items are an MONTHDAYSTATE. The MONTHDAYSTATE type is a bit field, where each bit (1 through 31) represents the state of a day in a month. If a bit is on, the corresponding day will be displayed in bold; otherwise it will be displayed with no emphasis. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetFirstDayOfWeek B Sets the first day of the week for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetMaxSelCount B Sets the maximum number of days that can be selected in a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetMonthDelta B Sets the scroll rate for a month calendar control. The scroll rate is the number of months that the control moves its display when the user clicks a scroll button. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetRange B Sets the minimum and maximum allowable dates for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetRangeMax B Sets the maximum allowable date for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetRangeMin B Sets the minimum allowable date for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetSelRange B Sets the selection for a month calendar control to a given date range. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetToday B Sets the "today" selection for a month calendar control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SetUnicodeFormat B Sets the UNICODE character format flag for the control. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 TextColor B Gets or sets the color used to display text within a month.. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 TitleTextColor B Gets or sets the color used to display text within the calendar's title. =for comment $Id: per_package_method.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 TrailingTextColor B Gets or sets the color used to display header day and trailing day text. Header and trailing days are the days from the previous and following months that appear on the current month calendar. =for comment $Id: per_package_event_section.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head1 EVENTS L apply to most windows and controls. =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 DayState B Sent by a month calendar control to request information about how individual days should be displayed. MONTHDAYSTATELIST is array reference. Each MONTHDAYSTATELIST items are an MONTHDAYSTATE. The MONTHDAYSTATE type is a bit field, where each bit (1 through 31) represents the state of a day in a month. If a bit is on, the corresponding day will be displayed in bold; otherwise it will be displayed with no emphasis. =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 SelChange B Sent by a month calendar control when the currently selected date or range of dates changes. =for comment $Id: per_package_event.tpl,v 1.3 2006/03/16 21:11:13 robertemay Exp $ =head2 Select B Sent by a month calendar control when the user makes an explicit date selection within a month calendar control. =for comment $Id: pod_postamble.tpl,v 1.2 2005/08/03 21:45:59 robertemay Exp $ =head1 VERSION Documentation for Win32::GUI v1.06 created 14 Feb 2008 This document is autogenerated by the build process. Edits made here will be lost. Edit F instead. =head1 SUPPORT Homepage: L. For further support join the users mailing list(C) from the website at L. There is a searchable list archive at L. =head1 COPYRIGHT and LICENCE Copyright (c) 1997..2008 Aldo Calpini. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.