![]() |
GetThemeMenuSeparatorHeight |
||||
Header: | Appearance.h | Carbon status: | Supported | |
Obtains the height of a menu separator line.
OSStatus GetThemeMenuSeparatorHeight ( SInt16 *outHeight );
A pointer to a signed 16-bit integer. On return, the integer value represents the height (in pixels) of the menu separator line.
A result code.
The GetThemeMenuSeparatorHeight function obtains the height of a menu separator line under the current theme. Your application should call the GetThemeMenuSeparatorHeight function when you are writing your own menu definition function and wish to calculate a menu rectangle for a separator to match the current theme.
This function is available with Appearance Manager 1.0.1 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)