File: 3867.comp-sys-amiga Path: ...!sri-unix!rutgers!seismo!mnetor!utzoo!utgpu!utcsri!utegc!utai!garfield!john13 From: john13@garfield.UUCP Newsgroups: comp.sys.amiga Subject: EXPOSE (make screen gadgets accessible) Message-ID: <3601@garfield.UUCP> Date: 21 Apr 87 04:44:18 GMT Date-Received: 23 Apr 87 11:58:57 GMT Organization: CS Dept., Memorial U. of Newfoundland, St. John's Lines: 168 Keywords: utility source executable [] Although I don't like to use the mouse if the keyboard will do just as well (since it can easily break your train of thought) one of the things I do use it for frequently is flipping between screens, and dragging them up and down. However, just about every programmer starts his window up against the top border - you may have to re-size then move several different windows on several different screens before *all* the screen drag bars and *all* the screen depth-arrangers are free. Just say "expose" and it will do all this for you. Windows up against the top border are sent a message saying "move down a pixel". If they happen to be already as high as the screen, they are first sent a message saying "get a bit smaller". Note: I have not found anything that objects to this, although I'm sure that there are such programs. Be careful using it if you aren't familiar with the characteristics of the windows currently open. It's conceivable that a screen-size, non-resizable window could crash the system when moved (the Workbench backdrop window does not crash). I did get some weird effects while experimenting. If I used Forbid() and Permit() it would work *once*, then not again until a re-boot. Instead a Delay() is used for 1/3 second every time it sends an IntuiMessage so that Intuition gets a chance to hear about it. There was also the Guru which showed up in two places, the usual black and red on top, and inverted Workbench colours down below, shifted to the left with wraparound. And the disabled machine you get when you set IntuitionBase->FirstScreen to NULL (just to see what would happen), although you can still move the mouse around you can't "touch" anything. John Russell john13@garfield.mun.cdn 5 Alderdice Place john13@garfield.UUCP St. John's, NF (Canada) A1B 2P8 (709) 726-7847