Partager via


MonthCal_GetCurSel (Windows CE 5.0)

Send Feedback

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

BOOL MonthCal_GetCurSel(HWND hwndMC, LPSYSTEMTIME lpSysTime );

Parameters

  • hwndMC
    Handle to a month calendar control.
  • lpSysTime
    Long pointer to a SYSTEMTIME structure that will receive the system time information.

Return Values

Nonzero indicates success. Zero indicates otherwise. This macro will always fail when applied to month calendar controls that are set to the MCS_MULTISELECT style.

Remarks

Related message:MCM_GETCURSEL

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

SYSTEMTIME

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.