RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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

  • Validation Strings
  • Wimp_CreateWindow
  • Wimp_CreateIcon
Created on June 18, 2009 23:53:11 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Validation Strings

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys