Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: 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 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