|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Encapsulates the functionality of a month calendar control.
The month calendar control provides the user with a simple calendar interface, from which the user can select a date. The user can change the display by:
Scrolling backward and forward, from month to month.
Clicking the Today text to display the current day (if the MCS_NOTODAY style is not used).
Picking a month or a year from a pop-up menu.
You can customize the month calendar control by applying a variety of styles to the object when you create it. These styles are described in Month Calendar Control Styles in the Platform SDK.
The month calendar control can display more than one month, and it can indicate special days (such as holidays) by bolding the date.
For more information on using the month calendar control, see Using CMonthCalCtrl.