Export (0) Print
Expand All

MonthCal_GetMaxTodayWidth macro

Retrieves the maximum width of the "today" string in a month calendar control. This includes the label text and the date text. You can use this macro or send the MCM_GETMAXTODAYWIDTH message explicitly.

Syntax


DWORD MonthCal_GetMaxTodayWidth(
  HWND hwndMC
);

Parameters

hwndMC

Type: HWND

Handle to a month calendar control.

Return value

Returns the width of the "today" string, in pixels.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft