Microsoft SDK for Java

ComboBox.setDrawMode

Sets a value indicating whether the system draws the combo box, whether the combo box owner draws the combo box with all items of equal height, or whether the combo box owner draws the combo box with items of variable height.

Syntax

public final void setDrawMode( int value )

Parameters

value

An integer that specifies how the current combo box is drawn. Possible return values are constants defined in the DrawMode class. The default value is DrawMode.NORMAL.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid DrawMode constant.

See Also   getDrawMode, addOnDrawItem

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