AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry
     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.

Provided by Icons

[sh-index] Back to list of manuals