Carbon


Contextual Menu Gestalt Selector Constants

Header: Menus.h

enum {
    gestaltContextualMenuAttr = 'cmnu',
    gestaltContextualMenuUnusedBit = 0,
    gestaltContextualMenuTrapAvailable = 1
};

Constant descriptions

gestaltContextualMenuAttr

The Gestalt selector passed to the Gestalt function to determine whether contextual menu functions are available. Produces a value whose bits you should test to determine whether the contextual menu functions are available.

gestaltContextualMenuUnusedBit
gestaltContextualMenuTrapAvailable

If this bit is set, the contextual menu functions are available to 68K applications. If this bit is not set, these functions are not available to 68K applications.

Before calling any contextual menu functions, your application should pass the selector gestaltContextualMenuAttr to the Gestalt function to determine whether contextual menu functions are available.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)