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
DWORD MonthCal_GetMaxTodayWidth(
HWND hmc
);
Parameters
hmc
Type: HWND
Handle to a month calendar control.
Return value
Type: DWORD
Returns the width of the "today" string, in pixels.
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 |