Carbon


DrawThemeMenuSeparator

Header: Appearance.h Carbon status: Supported

Draws a menu item separator line.

OSStatus DrawThemeMenuSeparator (
    const Rect *inItemRect
);
Parameter descriptions
inItemRect

A pointer to a structure of type Rect. Before calling DrawThemeMenuSeparator, set the rectangle to contain the menu item separator to be drawn, in global coordinates. The rectangle should be the same height as the height returned by the function GetThemeMenuSeparatorHeight.

function result

A result code.

DISCUSSION

The DrawThemeMenuSeparator function draws a theme-compliant menu item separator line.

VERSION NOTES

This function is available with Appearance Manager 1.0.1 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)