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 = Window handle
R3 = Icon handle
Exit:
R0 = 0 if icon is not selected, 1 if it is selected
R3 = Word at iconblock+20 (ie. pointer to indirected
text for indirected text icon)

Detects whether the icon is selected, and returns 1 in
R0 if it is, 0 otherwise. Also returns in R3 then value
in the iconblock at offset 20. For an indirected text
icon this will be a pointer to the text.

[sh-index] Back to list of manuals