Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #469

Re: Changing indirected data address

From Martin Bazley <martin.bazley@blueyonder.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Changing indirected data address
Message-ID <925867e651.martin@blueyonder.co.uk> (permalink)
References <7a8601e651.martin@blueyonder.co.uk> <mpro.ln283k0nm950g01jm.news@stevefryatt.org.uk> <Jay*Ii9Ft@news.chiark.greenend.org.uk>
Organization virginmedia.com
Date 2011-06-20 18:13 +0100

Show all headers | View raw


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

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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