MonthCal_GetMaxTodayWidth

This macro retrieves the maximum width of the “Today” string in a month calendar control. This includes the label text and the date text.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related message: MCM_GETMAXTODAYWIDTH

Syntax

DWORD MonthCal_GetMaxTodayWidth(HWND hwndMC);

Parameters

hwndMC

Handle to a month calendar control.

Return Values

Returns the width of the “Today” string, in pixels.