Microsoft SDK for Java

drawNativeFocusRect

This method of the GraphicsX Class draws a focus rectangle that indicates that a specified control has the input focus.

Syntax

public void drawNativeFocusRect(int X, int Y, int W, int H, Color bkColor);

Parameters

X The x coordinate of the focus rectangle's upper left corner.
Y The y coordinate of the focus rectangle's upper left corner.
W The width of the focus rectangle.
H The height of the focus rectangle.
bkColor The background color.

Remarks

This method was added as of versions 2925 through 3167 of the Microsoft virtual machine.

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