CMonthCalCtrl::GetMonthRange

This method retrieves date information (using SYSTEMTIME structures) that represents the high and low limits of a month calendar control's display.

At a Glance

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

Syntax

int GetMonthRange( COleDateTime& refMinRange,
COleDateTime&
refMaxRange, DWORD dwFlags ) const;

int GetMonthRange( CTime& refMinRange, CTime& refMaxRange,
DWORD
dwFlags ) const;

int GetMonthRange( LPSYSTEMTIME pMinRange,
LPSYSTEMTIME
pMaxRange, DWORD dwFlags ) const;