Article View: comp.sys.acorn.tech
Article #306Re: Help!
From: ThinkPix
Date: Mon, 09 Nov 1992 13:06
Date: Mon, 09 Nov 1992 13:06
21 lines
1411 bytes
1411 bytes
In article 103753BCALIB@ESTEC.BITNET, BCALIB@ESTEC.BITNET () writes: >I'm writing my first RISC OS application and have one or two problems, so any h >elp gratefully received. >1) How do you associate a menu with a select icon in a dbox - as in the Impres >sion Style Editor (where clicking on the arrow icon generates a menu)? >2) How do you embed one dbox within another - again as in the Impression Style >Editor dbox? > >Hope these questions aren't too ridiculous! > Thanks in anticipation > > > > > Morris Couldn't be easier really, when responding to wimp_poll button press (number 6 I think) check that the icon was the menu icon (by comparing window handle and icon number) and then call the menu display procedure.. simple! Once the user has clicked an option you will get the option number back in Wimp_Poll 9. With desktop programs no question is too ridiculous!
Technical Details
Message-ID:
<1992Nov9.130626.12250@aston.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!sunserver1.aston.ac.uk!sparc15!robertejReferences:
<92307.103753BCALIB@ESTEC.BITNET>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.acorn.tech Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!sunserver1.aston.ac.uk!sparc15!robertej From: robertej@cs.aston.ac.uk (ThinkPix) Subject: Re: Help! Message-ID: <1992Nov9.130626.12250@aston.ac.uk> Sender: usenet@aston.ac.uk (Usenet administrator) Nntp-Posting-Host: sparc15 Reply-To: robertej@cs.aston.ac.uk Organization: Aston University (Comp Sci) References: <92307.103753BCALIB@ESTEC.BITNET> Date: Mon, 9 Nov 1992 13:06:26 GMT Lines: 25