AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
R2 = -2 for left of iconbar, -1 for right
R3 = Pointer to sprite name
R4 = Pointer to text (max. 128 chars inc. terminator)
R5 = Icon button type (eg. 3)
Exit:
R0 = Icon handle

Will place a sprite on the iconbar, with a text
message underneath, returning the icon handle. Note
that the sprite name is copied out of the memory
block, which can be reused, but the text remains
where it is; this is so you can change the text after
creating the icon. Also note that the number in R5 is
just the button type, not the flags.

[sh-index] Back to list of manuals