🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: A way to Deactivate a Window After it has been Activated??

#12762
From: Dave Thomas QA
Date: Fri, 19 May 1989 12:44
18 lines
1315 bytes
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
Technical Details
Message-ID: <6927@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!csd4.milw.wisc.edu!bionet!ig!ames!apple!oliveb!amiga!cbmvax!thomas
References: <15917@gryphon.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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