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


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

Re: Changing indirected data address

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe20.ams2.POSTED!00000000!not-for-mail
From Martin Bazley <martin.bazley@blueyonder.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: Changing indirected data address
Message-ID <80cd67e651.martin@blueyonder.co.uk> (permalink)
References <7a8601e651.martin@blueyonder.co.uk> <mpro.ln283k0nm950g01jm.news@stevefryatt.org.uk>
Lines 28
User-Agent Messenger-Pro/6.01 (MsgServe/6.00) (RISC-OS/5.16) NewsHound/v1.52-32
NNTP-Posting-Host 80.195.185.253
X-Complaints-To http://netreport.virginmedia.com
X-Trace newsfe20.ams2 1308590160 80.195.185.253 (Mon, 20 Jun 2011 17:16:00 UTC)
NNTP-Posting-Date Mon, 20 Jun 2011 17:16:00 UTC
Organization virginmedia.com
Date Mon, 20 Jun 2011 18:18:54 +0100
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:467

Show key headers only | View raw


The following bytes were arranged on 20 Jun 2011 by Steve Fryatt :

> On 19 Jun, Martin Bazley wrote in message
>     <7a8601e651.martin@blueyonder.co.uk>:
>
> > Wimp_SetIconState alters the flags field, and Wimp_ResizeIcon alters the
> > four position fields.  The existence of these two SWIs rather suggests
> > there's no way to alter the icon data fields.
>
> Correct: you can't change them without deleting the icon.

Bollocks.  I rather thought that might happen.

OK, next question: is it safer to delete all icons in a window from the
first upwards or the last downwards, assuming each is recreated
immediately after being deleted and before the next is deleted?  Ideally
I want to avoid the "memory reallocation" the StrongHelp manuals are so
keen to emphasise happens when you delete the highest-numbered icon.

Also, do Wimp_Delete/CreateIcon force icon redraws, like
Wimp_SetIconState?  If so, the entire window will flicker and the
process will take ten times longer.

-- 
  __<^>__   === RISC OS is a work of art.  Some people adore it,  ===
 / _   _ \  === others can't see the point of it, and it's really ===
( ( |_| ) ) === expensive.                                        ===
 \_>   <_/  ======================= 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