Share via


MonthCal_GetMaxTodayWidth (Compact 2013)

3/28/2014

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

See Also

Reference

Month Calendar Controls Macros