home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / acorn / tech / 543 < prev    next >
Encoding:
Text File  |  1992-11-09  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.sys.acorn.tech
  2. Path: sparky!uunet!pipex!warwick!sunserver1.aston.ac.uk!sparc15!robertej
  3. From: robertej@cs.aston.ac.uk (ThinkPix)
  4. Subject: Re: Help!
  5. Message-ID: <1992Nov9.130626.12250@aston.ac.uk>
  6. Sender: usenet@aston.ac.uk (Usenet administrator)
  7. Nntp-Posting-Host: sparc15
  8. Reply-To: robertej@cs.aston.ac.uk
  9. Organization: Aston University (Comp Sci)
  10. References: <92307.103753BCALIB@ESTEC.BITNET>
  11. Date: Mon, 9 Nov 1992 13:06:26 GMT
  12. Lines: 25
  13.  
  14. In article 103753BCALIB@ESTEC.BITNET, BCALIB@ESTEC.BITNET () writes:
  15. >I'm writing my first RISC OS application and have one or two problems, so any h
  16. >elp gratefully received.
  17. >1) How do you associate a menu with a select icon in a dbox  - as in the Impres
  18. >sion Style Editor (where clicking on the arrow icon generates a menu)?
  19. >2) How do you embed one dbox within another - again as in the Impression Style
  20. >Editor dbox?
  21. >
  22. >Hope these questions aren't too ridiculous!
  23. >                Thanks in anticipation
  24. >
  25. >
  26. >
  27. >
  28. >                             Morris
  29.  
  30. Couldn't be easier really, when responding to wimp_poll button press (number 6 I think)
  31. check that the icon was the menu icon (by comparing window handle and icon number) and
  32. then call the menu display procedure.. simple! Once the user has clicked an option
  33. you will get the option number back in Wimp_Poll 9. With desktop programs no question
  34. is too ridiculous!
  35.  
  36.  
  37.  
  38.  
  39.