Share via


MonthCal_GetCurSel (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Month Calendar Controls Macros

Other Resources

SYSTEMTIME