Graphics.drawScrollButton

Overview | Methods | This Package | All Packages

Graphics.drawScrollButton

Draws a button for a Win32 scroll bar.

Syntax

public final void drawScrollButton( Rectangle rect, int button, int state )

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

Parameters

rect

A Rectangle object that identifies the area in which to draw the button.

button

A constant that identifies the scroll bar button to draw. This value must be one of the enumeration constants defined in the ScrollButton class.

x

The x-coordinate of the upper-left corner of the drawing rectangle.

y

The y-coordinate of the upper-left corner of the drawing rectangle.

width

The width of the button.

height

The height of the button.

button

A ScrollButton enumeration value to determine the scroll bar button to draw.

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, drawComboButton, drawMenuGlyph, drawRadioButton, drawSizeGrip