Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.67 KB

mcm-gettoday.md

File metadata and controls

61 lines (39 loc) · 1.67 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
MCM_GETTODAY message (Commctrl.h)
Retrieves the date information for the date specified as \ 0034;today \ 0034; for a month calendar control. You can send this message explicitly or by using the MonthCal\_GetToday macro.
a79feb57-6aa3-4c96-95f3-7018b6b8327f
MCM_GETTODAY message Windows Controls
apiref
MCM_GETTODAY
Commctrl.h
HeaderDef
reference
05/31/2018

MCM_GETTODAY message

Retrieves the date information for the date specified as "today" for a month calendar control. You can send this message explicitly or by using the MonthCal_GetToday macro.

Parameters

wParam

Must be zero.

lParam

Pointer to a SYSTEMTIME structure that will receive the date information. This parameter must be a valid address and cannot be NULL.

Return value

Returns nonzero if successful, or zero otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

Times in the Month Calendar Control