Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 3 - Menu Manager / Menu Manager Reference
Menu Manager Routines / Highlighting the Menu Bar


SetMenuFlash

Use the SetMenuFlash procedure to set the number of times a menu item blinks when the user chooses an enabled menu item. The user sets this value using the General Controls panel, and in most cases your application should not change the value set by the user.

PROCEDURE SetMenuFlash (count: Integer); 
count
The number of times an enabled menu item should blink when the user chooses it. This value is initially set to 3 by the General Controls panel. A count of 0 disables the blinking. Values greater than 3 can be slow and distracting to the user.
DESCRIPTION
The SetMenuFlash procedure sets the number of times that the Menu Manager causes a menu item to blink when the user chooses an enabled menu item.

The appearance of blinking in a menu item is determined by the menu's menu definition procedure.

ASSEMBLY-LANGUAGE INFORMATION
The global variable MenuFlash contains the current count (number of times) a menu item blinks when chosen by the user.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996