MonthCal_GetCurrentView macro (commctrl.h)
Gets the view for a month calendar control. You can use this macro or send the MCM_GETCURRENTVIEW message explicitly.
Syntax
DWORD MonthCal_GetCurrentView(
HWND hmc
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
Return value
Type: DWORD
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |