This method sets the selection for a month calendar control to a specified date range.
Header file: | Afxdtctl.h |
Platforms: | H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL SetSelRange( const COleDateTime& pMinRange,
const COleDateTime& pMaxRange );
BOOL SetSelRange( const CTime& pMinRange, const CTime& pMaxRange );
BOOL SetSelRange( const LPSYSTEMTIME pMinRange,
const LPSYSTEMTIME pMaxRange );