home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.acorn
- From: Steve@klaatu.demon.co.uk (Steve Loft)
- Path: sparky!uunet!pipex!demon!klaatu.demon.co.uk!Steve
- Subject: Correctly placed menus in C
- Distribution: world
- Organization: None to speak of
- Lines: 17
- Date: Fri, 24 Jul 1992 21:15:26 +0000
- Message-ID: <712029596snx@klaatu.demon.co.uk>
- Sender: usenet@gate.demon.co.uk
-
- I've read a lot of messages moaning (quite rightly) about PD programs
- which don't pop up menus at the right height on the icon bar. This is
- a problem in C when your menu has dashed line entries acting as spacers,
- because of what is apparently a bug in RISC_OSLib. I was amazed to learn
- from someone who has version 4 of C that the bug is still present.
-
- Now, can someone tell me an easy way of circumventing the bug? Possibly
- with some code fragments to demonstrate? Does the fix involve taking out
- the event_process call and handling it all 'manually' in the way you
- would in an assembler or Basic program, or is there an easier way?
- I don't really want to restructure my code.
-
- Steve
-
- | Steve Loft steve@klaatu.demon.co.uk |
- | Doncaster, s.loft@uk03.wins.icl.co.uk |
- | South Yorks. -------------------------- |
-