Help Center

CMonthCal.GetCurSelmethod

Retrieves the currently selected date.

WindowsmethodCMontCal.incdocumented

Syntax

FUNCTION GetCurSel (BYVAL hMonthCal AS HWND, BYVAL pst AS SYSTEMTIME PTR) AS BOOLEAN
FUNCTION GetCurSel (BYVAL hMonthCal AS HWND, BYREF st AS SYSTEMTIME) AS BOOLEAN
FUNCTION GetCurSel (BYVAL hMonthCal AS HWND) AS SYSTEMTIME

Parameters

NameDescription
hMonthCalHandle to a month calendar control.
pstPointer to a SYSTEMTIME structure that will receive the currently selected date information. This parameter must be a valid address and cannot be NULL.

Description

Retrieves the currently selected date.

Reference

  • Include file CMontCal.inc
  • Defined in AfxNova/CMonthCal.inc:116
  • Documented in Windows/WIndows Controls/CMonthCal Class.md
  • Topic: CMonthCal Class