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


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

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!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!feed.xsnews.nl!border-3.ams.xsnews.nl!upload-2.xsnews.nl!10.10.69.14.MISMATCH!frontend-F09-14.ams.news.kpn.nl
From Paul Sprangers <Paul@sprie.nl>
Subject Re: Changing indirected data address
Newsgroups comp.sys.acorn.programmer
Date Tue, 21 Jun 2011 11:27:01 +0200
Message-ID <51e6c06fd6Paul@sprie.nl> (permalink)
References <7a8601e651.martin@blueyonder.co.uk> <mpro.ln283k0nm950g01jm.news@stevefryatt.org.uk> <51e6362bf1Paul@sprie.nl> <ec757ce651.martin@bach.planiverse.com> <51e67eb2f7Paul@sprie.nl> <addd88e651.martin@bach.planiverse.com>
User-Agent Pluto/3.04e (RISC-OS/5.16) NewsHound/v1.52-32
Organization None
Lines 22
NNTP-Posting-Host 213.10.58.27
X-Trace 1308648427 news.kpn.nl 2565 213.10.58.27@kpn/213.10.58.27:55625
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:478

Show key headers only | View raw


In article <addd88e651.martin@bach.planiverse.com>,
   Martin Wuerthner <spamtrap@mw-software.com> wrote:

> You need to set the bits to a font handle, which is a number for a 
> font at a particular size that you can get from the FontManager via 
> Font_FindFont. [etc.]

Thank you very much. With this explanation, together with the StrongHelp
files, the Dr. Wimp source code, Reporter and a lot of trial and error,
I've now created a routine that  can change fonts in an existing icon
indeed, without freezing the machine. I'm getting closer all the time!

Here's a new one: how can I change a font AS WELL AS its colour in an icon?
I already managed to write a routine that can change foreground and
background colours, but when I call both routines, it will - depending on
the order of the calls - either colour the icon properly but with the
system font set, or it will change the font properly, but always with black
foreground and a white background colour, How can I have both?

Very curious about your reply,
Paul Sprangers

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