Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Sets the view for a month calendar control. You can use this macro or send the MCM_SETCURRENTVIEW message explicitly.
BOOL MonthCal_SetCurrentView(
HWND hmc,
DWORD dwNewView
);
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. |
Type: BOOL
Returns nonzero if successful, or zero otherwise.
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 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today