This method sets the time in a date and time picker (DTP) control.
Header file: | Afxdtctl.h |
Platforms: | H/PC Pro |
Windows CE versions: | 2.10 and later |
Complete documentation: | Visual C++ documentation |
BOOL SetTime( const COleDateTime& timeNew );
BOOL SetTime( const CTime* pTimeNew );
BOOL SetTime( LPSYSTEMTIME pTimeNew = NULL );