--- title: "Using CMonthCalCtrl | Microsoft Docs" ms.custom: "" ms.date: "11/04/2016" ms.reviewer: "" ms.suite: "" ms.technology: - "cpp-windows" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "CMonthCalCtrl" dev_langs: - "C++" helpviewer_keywords: - "CMonthCalCtrl class, about CMonthCalCtrl class" ms.assetid: 2be0e8c2-ed03-4853-aea1-4461eba18611 caps.latest.revision: 10 author: "mikeblome" ms.author: "mblome" manager: "ghogen" translation.priority.ht: - "cs-cz" - "de-de" - "es-es" - "fr-fr" - "it-it" - "ja-jp" - "ko-kr" - "pl-pl" - "pt-br" - "ru-ru" - "tr-tr" - "zh-cn" - "zh-tw" --- # Using CMonthCalCtrl The month calendar control ([CMonthCalCtrl](../mfc/reference/cmonthcalctrl-class.md)) implements a calendar-like user interface. This provides the user with a very intuitive and recognizable method of entering or selecting a date. The control also provides the application with the means to obtain and set the date information in the control using existing data types. By default, the month calendar control displays the current day and month. However, the user is able to scroll to the previous and next months and select a specific month and/or year. > [!NOTE] > To use the `CMonthCalCtrl` class in your project, you must include AFXDTCTL.H, usually in STDAFX.H. ## What do you want to know more about - [Creating the Month Calendar Control](../mfc/creating-the-month-calendar-control.md) - [Month Calendar Control Examples](../mfc/month-calendar-control-examples.md) - [Processing Notification Messages in Month Calendar Controls](../mfc/processing-notification-messages-in-month-calendar-controls.md) - [Setting the Day State of a Month Calendar Control](../mfc/setting-the-day-state-of-a-month-calendar-control.md) ## See Also [Controls](../mfc/controls-mfc.md)