Re: Changing indirected data address



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 ==========================
.