Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #482
| From | Martin Wuerthner <spamtrap@mw-software.com> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Changing indirected data address |
| Date | 2011-06-21 12:41 +0200 |
| Organization | MW Software |
| Message-ID | <8136c7e651.martin@bach.planiverse.com> (permalink) |
| References | (4 earlier) <51e67eb2f7Paul@sprie.nl> <addd88e651.martin@bach.planiverse.com> <51e6c06fd6Paul@sprie.nl> <cea8c1e651.martin@bach.planiverse.com> <51e6c4d9dePaul@sprie.nl> |
In message <51e6c4d9dePaul@sprie.nl>
Paul Sprangers <Paul@sprie.nl> wrote:
> In article <cea8c1e651.martin@bach.planiverse.com>,
> Martin Wuerthner <spamtrap@mw-software.com> wrote:
>> For outline font icons, you need to change the font colour values
>> stored in the validation string's F command.
> I see. But how do I do that? Where in the block% that is passed to
> SYS"Wimp_SetIconState",,block% do I enter the validation string? As far as
> I'm able to understand the StrongHelp file, it doesn't give a clue.
Wimp_SetIconState only changes the icon flags. The validation string
is held in a buffer in your application's workspace. You can find its
address via Wimp_GetIconState. You can modify it directly in memory
(but beware of exceeding its allocated size), then force an icon
redraw using a dummy Wimp_SetIconState call (passing 0 for EOR/BIC).
The validation string is a very basic Wimp feature. It might make
sense to first read a book or tutorial. That will allow you to proceed
more quickly than asking here for every little step. For instance, the
"Beginner's Guide to WIMP programming" as published in Foundation
RISCWorld is available online on the APDL site.
--
Martin
---------------------------------------------------------------------
Martin Wuerthner MW Software http://www.mw-software.com/
RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Changing indirected data address Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-06-19 23:41 +0100
Re: Changing indirected data address Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-20 00:04 +0100
Re: Changing indirected data address Paul Sprangers <Paul@sprie.nl> - 2011-06-20 10:16 +0200
Re: Changing indirected data address Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-20 23:04 +0200
Re: Changing indirected data address Paul Sprangers <Paul@sprie.nl> - 2011-06-20 23:29 +0200
Re: Changing indirected data address Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-21 01:20 +0200
Re: Changing indirected data address Paul Sprangers <Paul@sprie.nl> - 2011-06-21 11:27 +0200
Re: Changing indirected data address Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-21 11:40 +0200
Re: Changing indirected data address Paul Sprangers <Paul@sprie.nl> - 2011-06-21 12:15 +0200
Re: Changing indirected data address Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-21 12:41 +0200
Re: Changing indirected data address Paul Sprangers <Paul@sprie.nl> - 2011-06-21 13:37 +0200
Re: Changing indirected data address Theo Markettos <theom+news@chiark.greenend.org.uk> - 2011-06-20 14:18 +0100
Re: Changing indirected data address cferris@freeRemoveuk.com.invalid - 2011-06-20 14:55 +0100
Re: Changing indirected data address Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-06-20 18:10 +0100
Re: Changing indirected data address Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-06-20 18:13 +0100
Re: Changing indirected data address Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-06-20 18:18 +0100
Re: Changing indirected data address Alan Adams <alan@adamshome.org.uk> - 2011-06-20 19:08 +0100
csiph-web