DrawThemeFocusRegion

To draw or erase a focus ring around a specified region use the DrawThemeFocusRegion function.

FUNCTION DrawThemeFocusRegion(inRegion as RgnHandle,inHasFocus as Boolean) as Integer

inRegion:
The region that defines the focus ring
inner bounds.

inHasFocus:
A Boolean value. If true, the focus ring
should be drawn. If false, the focus ring
should be erased.

Returns:
A result code, see result codes.

Description:
The DrawThemeFocusRegion function should be used to indicate that an item has keyboard focus. The focus ring is drawn outside the rectangle that is passed in and can be outset a maximum of 3 pixels.

Supported platforms:
* MacOS PPC
* MacOS 68k
* MacOS Carbon
Unsupported platforms:
* Windows x86