🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Novice Menu Questions

#5417
From: Ken Farinsky - CATS
Date: Mon, 24 Sep 1990 14:23
38 lines
2278 bytes
In article <14600@cbmvax.commodore.com> bj@cbmvax.commodore.com writes:
>In article <39200@shemp.CS.UCLA.EDU> presley@oahu.cs.ucla.edu 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...you have a message port...

Menus are connected to windows so that each application can have its
own set of menus.  If menus were attached to screens, then multiple
applications would have to share the menu space if they shared a
screen (like the workbench screen).  On the Amiga, the active window
controls the menu strip, and (as such) does not have to worry about
menu collisions (each window has its own virtual menu space that
is only used when the window is active.)

>>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?...

If I read this question right, you want to know if you can add
Workbench menus (i.e.  menus added to the workbench "application"
menus) not your own menus that appear on the workbench screen
when your window is active.  You cannot do this legally under 1.3,
under 2.0 you can add them using the AppMenu feature.

Let me know if I answered the questions that you were asking.
It was not quite clear from your questions.

-- 
--
Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines
uucp: ken@cbmvax.commodore.com   or  ...{uunet,rutgers}!cbmvax!ken
bix:  kfarinsky
Technical Details
Message-ID: <14611@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!usc!rutgers!cbmvax!ken
References: <39200@shemp.CS.UCLA.EDU> <14600@cbmvax.commodore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!usc!rutgers!cbmvax!ken
From: ken@cbmvax.commodore.com (Ken Farinsky - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Novice Menu Questions
Keywords: Menus, workbench
Message-ID: <14611@cbmvax.commodore.com>
Date: 24 Sep 90 14:23:34 GMT
References: <39200@shemp.CS.UCLA.EDU> <14600@cbmvax.commodore.com>
Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS)
Distribution: comp.sys.amiga.tech
Organization: Commodore, West Chester, PA
Lines: 38