다음을 통해 공유


CMonthCalCtrl::GetMaxSelCount

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

int GetMaxSelCount( ) const;

Return Value

An integer value that represents the total number of days that can be selected for the control.

Remarks

This member function implements the behavior of the Win32 message MCM_GETMAXSELCOUNT, as described in the Windows SDK. Use this member function for controls with the MCS_MULTISELECT style set.

Example

See the example for CMonthCalCtrl::SetMaxSelCount.

Requirements

Header: afxdtctl.h

See Also

Concepts

CMonthCalCtrl Class

CMonthCalCtrl Members

Hierarchy Chart

CMonthCalCtrl::SetMaxSelCount