CMonthCalCtrl::SetSelRange

This method sets the selection for a month calendar control to a specified date range.

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 SetSelRange( const COleDateTime& pMinRange,
const COleDateTime&
pMaxRange );

BOOL SetSelRange( const CTime& pMinRange, const CTime& pMaxRange );

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