Important: The information in this document is obsolete and should not be used for new development.
FlashMenuBar
Use theFlashMenuBar
procedure to highlight (invert) a menu title or the entire menu bar. You can callFlashMenuBar
twice in a row to make the menu bar blink.
PROCEDURE FlashMenuBar (menuID: Integer);
menuID
- The menu ID of the menu whose title you want to invert. Use 0 in this parameter to invert the entire menu bar. If the specified menu ID does not exist in the current menu list, the
FlashMenuBar
procedure inverts the entire menu bar.DESCRIPTION
TheFlashMenuBar
procedure inverts the title of the specified menu or inverts the menu bar. To prevent unexpected colors from appearing in the menu bar, you should
not callFlashMenuBar
to invert a menu title while the entire menu bar is inverted.Only one menu title can be inverted at a time. If no menus are currently highlighted, calling
FlashMenuBar
with a specific menu ID inverts the title of that menu. If you callFlashMenuBar
again specifying another menu ID that is different from that of the previously inverted menu title,FlashMenuBar
restores the previously highlighted menu to normal and then inverts the title of the specified menu.SEE ALSO
You can also highlight a menu using theHiliteMenu
procedure, described on page 3-121.