![]() |
DrawThemeListBoxFrame |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Draws a list box frame.
OSStatus DrawThemeListBoxFrame ( const Rect *inRect, ThemeDrawState inState );
A pointer to a structure of type Rect. Before calling DrawThemeListBoxFrame, set the rectangle to the position around which to draw the list box frame, in local coordinates.
A value of type ThemeDrawState. Pass a constant specifying the state in which to draw the list box frame; see
A result code.
The DrawThemeListBoxFrame function draws a theme-compliant list box frame. The frame is a maximum of 2 pixels thick and is drawn outside the specified rectangle. To ensure that you get an appropriate focus ring for your list box, you should pass the same rectangle that you use with the DrawThemeListBoxFrame function to the function DrawThemeFocusRect.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)