🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19411

enabling the correct entries in the 'Edit' menu

#19411
From: Joe VanAndel
Date: Tue, 22 Sep 1987 19:08
20 lines
1409 bytes
I have a question about enabling/disabling the standard 
'cut/copy/paste/clear' menu items under the 'Edit' menu.  If
I have an application that has multiple windows, where one window
supports 'cut/paste' and another doesn't, and I need to support
desk-accessories that need the 'Edit' menu, what do I do?  I
don't want menu entries that are non-functional to be enabled.
I have discovered how to determine that a desk-accessory window had
been activated or de-activated, and enabled/disabled the menu
items appropriately, but then I discovered that I had missed the
case of the desk-accesssory being closed, while its window was active.

I've probably gone down a blind alley, but could someone tell me
the right way?

Thanks in advance!
-- 
	Joe VanAndel  		UUCP:		hao!ico!cadnetix!jva
	Cadnetix Corp.		  		jva@cadnetix.UUCP
	5757 Central Ave.
	Boulder, CO 80301	Voice:		303-444-8075
Technical Details
Message-ID: <876@cadnetix.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!nbires!isis!ico!cadnetix.UUCP!jva

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!nbires!isis!ico!cadnetix.UUCP!jva
From: jva@cadnetix.UUCP (Joe VanAndel)
Newsgroups: comp.sys.mac
Subject: enabling the correct entries in the 'Edit' menu
Message-ID: <876@cadnetix.UUCP>
Date: Tue, 22-Sep-87 15:08:17 EDT
Article-I.D.: cadnetix.876
Posted: Tue Sep 22 15:08:17 1987
Date-Received: Fri, 25-Sep-87 03:50:40 EDT
Organization: Cadnetix Corp., Boulder, CO
Lines: 20
Keywords: menu, edit, cut, paste