home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!cs18.cs.aukuni.ac.nz!cste3
- Newsgroups: comp.sys.amiga.programmer
- Subject: Attaching menus to more than 1 win
- Message-ID: <1992Sep3.060459.20274@cs.aukuni.ac.nz>
- From: cste3@cs.aukuni.ac.nz (Christopher Paul Stevens )
- Date: Thu, 3 Sep 1992 06:04:59 GMT
- Organization: Computer Science Dept. University of Auckland
- Lines: 18
-
- Is anybody able to tell me how I can attach a single menu to two different
- windows and then recieve the IDCMP flags for the windows as one ??
-
-
- ie I have two windows on my screen which both display different data and
- I want the user to be able to select from the menu an action the problem being
- that I have no way of setting up my loop to recieve IDCMP from the two windows
-
- Is there some way that I can get a pointer to the currently active window ?
-
- so in line
- Wait (1 << 'currentlyActiveWindow'->UserPort->mp_SigBit);
-
- I have my own screen and it is not public so I know that only my windows will
- be active on it!!
-
- AdvaTHANKSnce.
-
-