Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #430
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!news.astraweb.com!border1.a.newsrouter.astraweb.com!pfeed09.wxs.nl!newsfeed.kpn.net!pfeed14.wxs.nl!pfeed15.wxs.nl!not-for-mail |
|---|---|
| From | Paul Sprangers <Paul@sprie.nl> |
| Subject | Font_DecodeMenu |
| Newsgroups | comp.sys.acorn.programmer |
| Date | Tue, 14 Jun 2011 12:24:06 +0200 |
| Message-ID | <51e32acc58Paul@sprie.nl> (permalink) |
| User-Agent | Pluto/3.04e (RISC-OS/5.16) NewsHound/v1.50-32 |
| Organization | None |
| Lines | 27 |
| NNTP-Posting-Host | 213.10.58.27 |
| X-Trace | 1308047050 news.kpn.nl 25978 213.10.58.27:49594 |
| X-Complaints-To | abuse@planet.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:430 |
Show key headers only | View raw
Dear all, It's hard to describe the abyss of my incomprehension when it comes to wimp programming (to call but one example). This time it is the attempt to create a font menu and choose a font from there. I've managed to get a font menu on screen (with submenus for weights), but as soon as I click on a font, the program quits with an Abort on data etc. The culprit appears to be the following call: SYS "Font_DecodeMenu",0,fontmenu%,block%,buf%,&100 (fontmenu% holds the font menu, while buf% is dimensioned elsewhere.) Strangely, I used exactly the same call in another program without problems. Even more strangely, when I change block% to block%!36 (a desperate man is willing to plunge into the unobvious), the program happily runs further, but will always choose the first font in the menu, no matter on which font I clicked. Who will point at at the above stupidities? Kind regards, Paul Sprangers
Back to comp.sys.acorn.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Font_DecodeMenu Paul Sprangers <Paul@sprie.nl> - 2011-06-14 12:24 +0200
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-14 15:54 +0200
Re: Font_DecodeMenu Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-14 20:52 +0200
Re: Font_DecodeMenu Paul Sprangers <Paul@sprie.nl> - 2011-06-14 23:56 +0200
Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-14 22:43 +0100
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-15 06:50 +0200
Re: Font_DecodeMenu Martin Wuerthner <spamtrap@mw-software.com> - 2011-06-15 13:18 +0200
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-15 15:38 +0200
Re: Font_DecodeMenu Steve Drain <steve@kappa.me.uk> - 2011-06-15 17:20 +0100
Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-15 20:24 +0100
Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-15 21:19 +0100
Re: Font_DecodeMenu Steve Fryatt <news@stevefryatt.org.uk> - 2011-06-15 22:14 +0100
Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-16 14:35 +0100
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:10 +0200
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:04 +0200
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-16 18:51 +0200
Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-16 18:12 +0100
Re: Font_DecodeMenu John Tytgat <this@is.invalid> - 2011-06-21 19:19 +0200
Re: Font_DecodeMenu Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-06-22 19:18 +0200
Re: Font_DecodeMenu "Ste (news)" <steve@revi11.plus.com> - 2011-06-25 17:53 +0100
Re: Font_DecodeMenu John Tytgat <this@is.invalid> - 2011-06-27 13:06 +0200
Re: Font_DecodeMenu Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2011-06-15 22:13 +0100
csiph-web