Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!ut-sally!husc6!cmcl2!rutgers!cbmvax!andy
From: andy@cbmvax.UUCP (Andy Finkel)
Newsgroups: comp.sys.amiga
Subject: Re: Intuition Help Requested
Message-ID: <2135@cbmvax.UUCP>
Date: Fri, 17-Jul-87 12:32:33 EDT
Article-I.D.: cbmvax.2135
Posted: Fri Jul 17 12:32:33 1987
Date-Received: Wed, 22-Jul-87 02:29:03 EDT
References: <1987Jun28.103008.16162@sq.uucp>
Reply-To: andy@cbmvax.UUCP (Andy Finkel)
Organization: Commodore Technology, West Chester, PA
Lines: 38

In article <1987Jun28.103008.16162@sq.uucp> hobie@sq.uucp (Hobie Orris) writes:
>
>
>	I need some pointers on how to accomplish a certain task in my 
>program (written with Aztec) which I can't seem to do under Intuition.  I
>have two screens which you can switch between (I use ScreenToFront()) each
>of which has a backdrop window.  How can I force the topmost screen's window
>to become active from within the program?

The V1.2 Intuition function ActivateWindoe() does what you want.

The format for calling is as follows:

        ActivateWindow(Window)
                        A0

        struct Window *Window;


Use the ACTIVEWINDOW IDCMP message to tell when your window has actually
been made active.

You may have to get the latest version of Manx (with the V1.2 library calls)
to easily use this function.  Otherwise you might have to make your own stub.

The V1.2 Native Developer Update ($20, from us) contains the documentation
on the functions.  

			andy
-- 
andy finkel		{ihnp4|seismo|allegra}!cbmvax!andy 
Commodore-Amiga, Inc.

"The goal of Computer Science is to build something that will last at
least until we've finished building it."

Any expressed opinions are mine; but feel free to share.
I disclaim all responsibilities, all shapes, all sizes, all colors.