CDateTimeCtrl::GetRange

This method retrieves the current minimum and maximum allowable system times for a date and time picker (DTP) 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

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

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