AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
*     R0 =     Window handle
          R1 =     Icon handle
          R2 =     Base if ³ 2 AND £ 36, otherwise ignored
*     R0 =     Value
Not re-entrant.

Get the numerical value of an inderected icon's text.

Note:     ddUtil versions <0.37 returned an error if the icon was empty; now it returns 0

Basic example
SYS "ddu_GIV",Window,Icon TO Value
SYS "ddu_GIV",Window,Icon,16 TO Value
(see OS_ReadUnsigned (PRM 1-448) for a description of R2, possible errors and on how the value is treated)

[sh-index] Back to list of manuals