Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucbvax!jade!violet.berkeley.edu!mwm From: mwm@violet.berkeley.edu (Mike (My watch has windows) Meyer) Newsgroups: comp.sys.amiga Subject: Feeding a windows IDCMP port Message-ID: <5178@jade.BERKELEY.EDU> Date: Mon, 21-Sep-87 07:03:32 EDT Article-I.D.: jade.5178 Posted: Mon Sep 21 07:03:32 1987 Date-Received: Tue, 22-Sep-87 02:00:31 EDT Sender: usenet@jade.BERKELEY.EDU Reply-To: mwm@violet.berkeley.edu (Mike (My watch has windows) Meyer) Organization: Missionaria Phonibalonica Lines: 25 I would like to feed applications IDCMP events from outside the applications. Most notably, I'd like a CLI command: closewindow Name That finds the window named Name, and tells it that it's close gadget has just been hit. The obvious hack (chase down the window, and feed an IntuiMessage to it's UserPort) didn't work. The application apparently never saw the message, the closewindow program hangs, and the system GURUs when the application is close for real. I know that I'm doing a *very* hazardous thing. Suggestions on a better way to do it will be appreciated - except I'd rather not put false mouse events into the intuition stream. Thanx,