RISC OS Open

RISC OS  OPEN


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

Documentation: Validation Strings

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 Strings


Command Description
A Allowable Characters
C 24-bit colours
D Mask typed colours
F Set font colours
K Assign functionality to specific keys
L Text in icon will be formatted
N Icon name
P Sets pointer shape and active point
R Border commands
S Sprite name
U Unicode character limit
X Disable width calculation
Y Enable features

Notes

Validation strings are used to provide extra functionality to an icon or a window. Each validation string command can be used in conjunction with any other.

Each command must be separated by the ; character.

An application must ensure that the buffer used to store the validation string has enough free space to handle any extra commands.

Validation strings are used within icons and window title bars.


See also

   .