Microsoft SDK for Java

SystemInformation.getMouseWheelScrollLines

Retrieves the number of lines to scroll when the mouse wheel is rotated.

Syntax

public static final int getMouseWheelScrollLines()

Return Value

Returns an integer that represents the number of lines to scroll.

Remarks

Use this method to determine how many lines to increase or decrease in a control that has a scroll bar.

See Also   getNativeMouseWheelSupport, getMouseWheelPresent

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