MCM_GETCURRENTVIEW message

Gets the current view of the calendar. You can send this message explicitly or by using the MonthCal_GetCurrentView macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Current view. One of the following values.

Return code Description
MCMV_MONTH
Monthly view.
MCMV_YEAR
Annual view.
MCMV_DECADE
Decade view.
MCMV_CENTURY
Century view.

Requirements

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