Path: utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!bionet!ig!ames!apple!oliveb!amiga!cbmvax!thomas From: thomas@cbmvax.UUCP (Dave Thomas QA) Newsgroups: comp.sys.amiga.tech Subject: Re: A way to Deactivate a Window After it has been Activated?? Message-ID: <6927@cbmvax.UUCP> Date: 19 May 89 12:44:43 GMT References: <15917@gryphon.COM> Reply-To: thomas@cbmvax.UUCP (Dave Thomas QA) Organization: Commodore Technology, West Chester, PA Lines: 18 In article <15917@gryphon.COM> rickf@pnet02.cts.com (Rick Flower) writes: > I've got a program that has multiple windows open at the same time, and I want > to make sure that the "main" window is always the active window and NOT one of > the other "informational" windows.. If the user selects one of these other > windows, is there a way to DeSelect it and return control to the main window?? > I've already got it so that it will detect when the window has been activated, > but I can't deactivate it as of yet.. The only to deactivate a window is to activate another one. If you are already detecting your output windows activation messages, then simply ActivateWindow (inputwindow) whenever this happens. > Thanks in advance... Dave -- Dave Thomas, Commodore Amiga Test Engineering UUCP ...{allegra,rutgers}!cbmvax!thomas