CMonthCalCtrl Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

CMonthCalCtrl

Constructs a CMonthCalCtrl object.

Create

Creates a month calendar control and attaches it to the CMonthCalCtrl object.

Attributes

GetCalendarBorder

Retrieves the width of the border of the current month calendar control.

GetCalendarCount

Retrieves the number of calendars displayed in the current month calendar control.

GetCalendarGridInfo

Retrieves information about the current month calendar control.

GetCalID

Retrieves the calendar identifier for the current month calendar control.

GetColor

Gets the color of a specified area of a month calendar control.

GetCurrentView

Retrieves the view that is currently displayed by the current month calendar control.

GetFirstDayOfWeek

Gets the first day of the week to be displayed in the leftmost column of the calendar.

GetMaxTodayWidth

Retrieves the maximum width of the "Today" string for the current month calendar control.

GetMinReqRect

Retrieves the minimum size required to show a full month in a month calendar control.

GetMonthDelta

Retrieves the scroll rate for a month calendar control.

SetCalendarBorder

Sets the width of the border of the current month calendar control.

SetCalendarBorderDefault

Sets the default width of the border of the current month calendar control.

SetCalID

Sets the calendar identifier for the current month calendar control.

SetCenturyView

Sets the current month calendar control to display the century view.

SetColor

Sets the color of a specified area of a month calendar control.

SetCurrentView

Sets the current month calendar control to display the specified view.

SetDecadeView

Sets the current month calendar control to the decade view.

SetFirstDayOfWeek

Sets the day of week to be displayed in the leftmost column of the calendar.

SetMonthDelta

Sets the scroll rate for a month calendar control.

SetMonthView

Sets the current month calendar control to display the month view.

SetYearView

Sets the current month calendar control to year view.

SizeRectToMin

For the current month calendar control, calculates the smallest rectangle that can contain all the calendars that fit in a specified rectangle.

Operations

GetCurSel

Retrieves the system time as indicated by the currently-selected date.

GetMaxSelCount

Retrieves the current maximum number of days that can be selected in a month calendar control.

GetMonthRange

Retrieves date information representing the high and low limits of a month calendar control's display.

GetRange

Retrieves the current minimum and maximum dates set in a month calendar control.

GetSelRange

Retrieves date information representing the upper and lower limits of the date range currently selected by the user.

GetToday

Retrieves the date information for the date specified as "today" for a month calendar control.

HitTest

Determines which section of a month calendar control is at a given point on the screen.

IsCenturyView

Indicates whether the current view of the current month calendar control is the century view.

IsDecadeView

Indicates whether the current view of the current month calendar control is the decade view.

IsMonthView

Indicates whether the current view of the current month calendar control is the month view.

IsYearView

Indicates whether the current view of the current month calendar control is the year view.

SetCurSel

Sets the currently selected date for a month calendar control.

SetDayState

Sets the display for days in a month calendar control.

SetMaxSelCount

Sets the maximum number of days that can be selected in a month calendar control.

SetRange

Sets the minimum and maximum allowed dates for a month calendar control.

SetSelRange

Sets the selection for a month calendar control to a given date range.

SetToday

Sets the calendar control for the current day.

SizeMinReq

Repaints the month calendar control to its minimum, one-month size.

See Also

Concepts

CMonthCalCtrl Class

Hierarchy Chart