CDateTimeCtrl::GetMonthCalCtrl

CMonthCalCtrl* GetMonthCalCtrl( ) const;

Return Value

A pointer to a CMonthCalCtrl object, or NULL if unsuccessful or if the window is not visible.

Remarks

Call this member function to retrieve the CMonthCalCtrl object associated with the date and time picker control. Date and time picker controls create a child month calendar control when the user clicks the drop-down arrow. When the CMonthCalCtrl object is no longer needed, it is destroyed, so your application must not rely on storing the object representing the date time picker control's child month calendar.

CDateTimeCtrl OverviewClass MembersHierarchy Chart