Share via


MonthCal_GetMaxTodayWidth (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

DWORD MonthCal_GetMaxTodayWidth(
  HWND hwndMC 
);

Parameters

  • hwndMC
    Handle to a month calendar control.

Return Value

Returns the width of the Today string, in pixels.

Remarks

Related message: MCM_GETMAXTODAYWIDTH

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Month Calendar Controls Macros