MonthCal_GetMaxTodayWidth

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later