Carbon


TXNGetFontMenuHandle

Header: MacTextEditor.h Carbon status: Supported

Gets the Font menu handle that belongs to a Font menu object.

OSStatus TXNGetFontMenuHandle (
    TXNFontMenuObject iTXNFontMenuObject, 
    MenuHandle *fontMenuHandle
);
Parameter descriptions
iTXNFontMenuObject

A variable of type TXNFontMenuObject. You obtain a Font menu object from TXNNewFontMenuObject.

fontMenuHandle

A pointer to a menu handle. On return, a pointer to the Font menu created when the Font menu object was created. MLTE makes of copy of the menu handle. The application should not dispose of this the menu handle until it disposes of the font menu object.

function result

A result code.

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/17/2000)