DateTime_GetMonthCalStyle macro (commctrl.h)

Gets the style of a specified date and time picker (DTP) control. Use this macro or send the DTM_GETMCSTYLE message explicitly.

Syntax

LRESULT DateTime_GetMonthCalStyle(
  [in] HWND hdp
);

Parameters

[in] hdp

Type: HWND

A handle to the DTP control.

Return value

Type: LRESULT

Returns the style value of the control. For more information see Month Calendar Control Styles.

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