Partager via


MonthCal_GetCurSel (Compact 2013)

3/28/2014

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

See Also

Reference

Month Calendar Controls Macros

Other Resources

SYSTEMTIME