Re: Changing indirected data address
- From: Martin Bazley <martin.bazley@xxxxxxxxxxxxxxxx>
- Date: Mon, 20 Jun 2011 18:13:55 +0100
The following bytes were arranged on 20 Jun 2011 by Theo Markettos :
Set the icon flags so that it's a non-indirected text icon
The problem with that is that the only valid way is via
Wimp_SetIconState, which automatically redraws the icon - producing, in
this case, garbage.
And changing it back will cause the icon to flicker during the process.
I can't remember how you change the text in a non-indirected icon, though.
And I don't think that's possible, either - I've run into that one
before. All program-updated icons must be indirected, thus implying
that the non-indirected bit - i.e. the data pointer - is read-only, but
the space it points to is not.
--
__<^>__
/ _ _ \ You always find something in the last place you look.
( ( |_| ) )
\_> <_/ ======================= Martin Bazley ==========================
.
- References:
- Changing indirected data address
- From: Martin Bazley
- Re: Changing indirected data address
- From: Steve Fryatt
- Re: Changing indirected data address
- From: Theo Markettos
- Changing indirected data address
- Prev by Date: Re: Changing indirected data address
- Next by Date: Re: Changing indirected data address
- Previous by thread: Re: Changing indirected data address
- Next by thread: Re: Changing indirected data address
- Index(es):