home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / acorn / 8018 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.2 KB  |  29 lines

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