This method sets the currently selected date for a month calendar control. If the specified date is not in view, the control updates the display to bring it into view.
Header file: | Afxdtctl.h |
Platforms: | H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL SetCurSel( const COleDateTime& refDateTime );
BOOL SetCurSel( const CTime& refDateTime );
BOOL SetCurSel( const LPSYSTEMTIME pDateTime );