MCM_GETCURSEL

This message retrieves the system time portrayed by the currently selected date.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related macro: MonthCal_GetCurSel

Syntax

MCM_GETCURSEL wParam = 0;
lParam = (LPARAM) (LPSYSTEMTIME) lpSysTime;

Parameters

lpSysTime

Long pointer to a SYSTEMTIME structure that receives the system time information. The time members of this structure are not modified.

Return Values

Nonzero indicates success. Zero indicates otherwise. This message always fails when applied to month calendar controls set to the MCS_MULTISELECT style.