[comp.sys.amiga.programmer] How to set up a screen?

dvljrt@cs.umu.se (Joakim Rosqvist) (05/14/91)

I am writing a program that uses a screen with a very complex copperlist.
Everything that happens visually on this screen I want to control myself
(moving the mouse-pointer etc) I've been told this can be done by
"putting an input handler ahead of intuition that will remove the
events that belong to me"  .. now, that's greek to me, can anybody submit 
a short example-source on how this is actually done (assembler)?
That is, *I* want to know about mouse-movements and clicked buttons, but
the rest of the system should not know this as long as my screen is shown.

I'll have some feature to 'click behind' my screen, so that the user can
reach the other programs currently running. When one of those screens are
clicked behind, I want my screen to appear again, how will I know when this
has happened?

Thanks for any help

/$DR.HEX$

--------------------------------------------
Mailbox called  dvljrt@cs.umu.se
2 Windows on the screen?  Oh no, not me.  I just Logout & Go.