🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5396

Re: Novice Menu Questions

#5396
From: Brian Jackson
Date: Sun, 23 Sep 1990 02:32
30 lines
1996 bytes
In article <39200@shemp.CS.UCLA.EDU> presley@oahu.cs.ucla.edu (Matthew Presley) writes:
>Why are menus linked off of windows instead of screens?
>I think workbench just opens a window called "Workbench"
>on top of its screen to get its menus.

Menus are connected to windows so that (among other reasons) you have
a message port (an IDCMP) through which Intuition can send you knowledge
of what the user is doing regarding your program.  Screens have no
such capability (no UserPort) so attaching menus to them would be somewhat
useless.

>Is it possible to open up windows on the workbench screen
>with their own menus?  I'm not having much success opening
>a window on the workbench screen and then using SetMenuStrip()
>to add some predefined menus.
 
Again, no.  Doing something impossible is worse than doing something 
(seemingly) difficult, no?   Forget the menus for now and just open a 
window (WorkBench window) with a close gadget.  If you can do that, menus
will (should) fall right into place. :)

bj

>Matthew Presley (UCLA CS Grad. Student) & (JPL CS dude)

 ----------------------------------------------------------------------------
 | Brian Jackson  Software Engineer @ Commodore-Amiga Inc.                   |
 | bj@cbmvax.commodore.com    or  ...{uunet|rutgers}!cbmvax!bj   GEnie: B.J. |
 | "Fasten your seatbelt... I want to try something."                        |
 ----------------------------------------------------------------------------
Technical Details
Message-ID: <14600@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!cbmvax!bj
References: <39200@shemp.CS.UCLA.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!cbmvax!bj
From: bj@cbmvax.commodore.com (Brian Jackson)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Novice Menu Questions
Keywords: Menus, workbench
Message-ID: <14600@cbmvax.commodore.com>
Date: 23 Sep 90 02:32:12 GMT
References: <39200@shemp.CS.UCLA.EDU>
Reply-To: bj@cbmvax.commodore.com (Brian Jackson)
Distribution: comp.sys.amiga.tech
Organization: Commodore, West Chester, PA
Lines: 30