Microsoft SDK for Java

MonthCalendar.getSingleMonthSize

Retrieves the minimum dimensions required to display a full month in a month calendar control.

Syntax

public Point getSingleMonthSize()

Return Value

Returns a Point object whose x property represents the minimum width required to display a month in the control and whose y property represents the height required.

Exceptions

WFCWin32Exception thrown if the applicable bounding information cannot be returned.

Remarks

The minimum required window size for a month calendar control depends on the currently selected font.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.