Retrieves the system time as indicated by the currently-selected date.
BOOL GetCurSel( COleDateTime& refDateTime ) const; BOOL GetCurSel( CTime& refDateTime ) const; BOOL GetCurSel( LPSYSTEMTIME pDateTime ) const;
This member function implements the behavior of the Win32 message MCM_GETCURSEL, as described in the Windows SDK.
This member function fails if the style MCS_MULTISELECT is set.
In MFC's implementation of GetCurSel, you can specify a COleDateTime usage, a CTime usage, or a SYSTEMTIME structure usage.