Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!ramfeed-2.ams.xsnews.nl!feed.xsnews.nl!border-3.ams.xsnews.nl!upload-2.xsnews.nl!10.10.69.15.MISMATCH!frontend-F09-15.ams.news.kpn.nl From: Paul Sprangers Subject: Re: Changing indirected data address Newsgroups: comp.sys.acorn.programmer Date: Mon, 20 Jun 2011 23:29:00 +0200 Message-ID: <51e67eb2f7Paul@sprie.nl> References: <7a8601e651.martin@blueyonder.co.uk> <51e6362bf1Paul@sprie.nl> 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: 1308605346 news.kpn.nl 2560 213.10.58.27@kpn/213.10.58.27:51620 Xref: x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:474 In article , Martin Wuerthner wrote: > > And what about changing the Outline font of an icon that has been > > created in a Template file? Is there a way to do this in Basic? > Yes, that is easy. Thank you for rubbing the salt into the wound (Dutch expression). > The font handle is stored in the icon flags word, > so Wimp_SetIconState allows you to change it. As far as I understand the Stronghelp file on this topic, bit 6 of the icon flags has to be set, after which bit 24-31 contain the fonthandle. But how should I set those bits if I want to change the original font to, say, GillSans.Medium? Kind regards, Paul Sprangers