MonthCal_SetCurrentView macro (commctrl.h)
Sets the view for a month calendar control. You can use this macro or send the MCM_SETCURRENTVIEW message explicitly.
Syntax
void MonthCal_SetCurrentView(
hmc,
dwNewView
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
dwNewView
Type: DWORD
New view. One of the following constants.
Value | Meaning |
---|---|
|
Monthly view. |
|
Annual view. |
|
Decade view. |
|
Century view. |
Return value
None
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 |