CMonthCalCtrl::SetRange

This method sets the minimum and maximum allowable dates for a month calendar control.

At a Glance

Header file: Afxdtctl.h
Platforms: H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Syntax

BOOL SetRange( const COleDateTime* pMinRange, const COleDateTime* pMaxRange );

BOOL SetRange( const CTime* pMinRange, const CTime* pMaxRange );

BOOL SetRange( const LPSYSTEMTIME pMinRange,
const LPSYSTEMTIME
pMaxRange );