![]() |
TXNPrepareFontMenu |
||||
Header: | MacTextEditor.h | Carbon status: | Supported | |
Prepares a Font menu for display.
OSStatus TXNPrepareFontMenu ( TXNObject iTXNObject, TXNFontMenuObject iTXNFontMenuObject );
A variable of type TXNObject. Pass the text object that identifies the document with the Font menu you want to prepare or pass NULL. If you pass NULL, an inactive menu is displayed (appears dimmed).
A variable of type TXNFontMenuObject. You obtain a Font menu object from TXNNewFontMenuObject.
A result code.
If the text objects current selection is a single font, the menu item for that font is checked.
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/17/2000)