MonthCal_GetMaxTodayWidth macro (commctrl.h)

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

void MonthCal_GetMaxTodayWidth(
   hmc
);

Parameters

hmc

Type: HWND

Handle to a month calendar control.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h