RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Validation String X

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateIcon
» Wimp_CreateIcon (window syntax)
» Icon Block
» Icon Data
» Validation Strings
» Validation String X

Validation String X


Use

Disables the Wimp’s calculation of text in a text+sprite icons on the iconbar.

Notes

When a text+sprite icon is displayed on the icon bar, the Wimp will automatically calculate the width of the text, and hence the icon. If an icon’s text may change, applications should calculate the largest width of all potential texts (using Wimp_TextOp 1) and create the icon with this width and then disable the Wimp’s calculation by using this validation string command.

Syntax


X

Examples


X

See also

   .