AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Sets new foreground and background colours of menu item

*     R0 =     handle of the menu item or 0 for current item
     R1 =     foreground colour
     R2 =     background colour
*     R0-R2     preserved

Use:     This call allows you to change colours of particular menu item. Colours must be selected from 16 Wimp colours.

Example code...
Example code (MenuUtil_Colours)
Change colours of current item to black on yellow:

  SYS "MenuUtil_Colours",,7,9
[sh-index] Back to list of manuals