DateTime_SetMonthCalStyle macro (commctrl.h)

Sets the style for a specified date and time picker (DTP) control. Use this macro or send the DTM_SETMCSTYLE message explicitly.

Syntax

void DateTime_SetMonthCalStyle(
  [in]  hdp,
  [in]  dwStyle
);

Parameters

[in] hdp

Type: HWND

A handle to the DTP.

[in] dwStyle

Type: DWORD

Month Calendar Control Styles

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