DateTime_SetMonthCalStyle

DateTime_SetMonthCalStyle macro

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

Syntax


LRESULT DateTime_SetMonthCalStyle(
  [in] HWND  hdp,
  [in] DWORD dwStyle
);

Parameters

hdp [in]

Type: HWND

A handle to the DTP.

dwStyle [in]

Type: DWORD

A style value. For more information see Month Calendar Control Styles.

Return value

Returns the value of the previous style.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft