Microsoft SDK for Java

Graphics.drawComboButton

Draws the drop-down button of a Win32 combo box in the specified rectangle.

Syntax

public final void drawComboButton( Rectangle rect, int state )

public final void drawComboButton( int x, int y, int width, int height, int state )

Parameters

rect

A Rectangle object that specifies the coordinates of the button to draw.

state

One or more ButtonState flags that determine how to draw the button.

x

The x-coordinate of the rectangle in which to draw the button.

y

The y-coordinate of the rectangle in which to draw the button.

width

The width of the rectangle in which to draw the button.

height

The height of the rectangle in which to draw the button.

state

One or more flags that determine how to draw the button. This value must be one or more of the enumeration constants defined in the ButtonState class.

See Also   drawButton, drawCaptionButton, drawCheckBox, drawMenuGlyph, drawRadioButton, drawScrollButton, drawSizeGrip

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