CDateTimeCtrl::GetRange

DWORD GetRange( COleDateTime* pMinRange, COleDateTime* pMaxRange ) const;

DWORD GetRange( CTime* pMinRange, CTime* pMaxRange ) const;

Return Value

A DWORD value containing flags that indicate which ranges are set.

Parameters

pMinRange

A pointer to a COleDateTime object or a CTime object containing the earliest time allowed in the CDateTimeCtrl object.

pMaxRange

A pointer to a COleDateTime object or a CTime object containing the latest time allowed in the CDateTimeCtrl object.

Remarks

This member function implements the behavior of the Win32 message DTM_GETRANGE, as described in the Platform SDK.

In MFC's implementation, you can specify either COleDateTime or CTime usages.

CDateTimeCtrl OverviewClass MembersHierarchy Chart

See Also   CDateTimeCtrl::SetRange