[comp.sys.amiga] ClickUpFront Revised

dpvc@ur-tut.UUCP (Davide P. Cervone) (10/28/87)

[what's my line?]

Recently someone asked that ClickUpFront be modified to include a way to push 
a window to the back.  I thought this was a good idea, so I re-wrote 
Click-Handler.c to do that, and added the ability to move screens to the 
front or back, too.  I like this version much better than the original, and 
it still only takes about 1K of memory, so you get the other functionality 
almost for free!

I've sent the binary, new source code, and updated document file to the new
comp.{sources|binaries}.amiga moderator, and hope to see them out soon. 
Anyone really impatient to get it right away can drop me a line and I'll send
it out via e-mail.

Here's how to use the new features:

    Double-clicking with the left button moves the selected window to
    the front.  It also moves the screen to the front of the others, if it
    is not at the front already.  Hold down the shift key in order to 
    double-click in a window without bringing it to the front.  You can still
    specify what qualifier keys constitute "shift".

    Double-clicking the right button pushes the ACTIVE window to the back
    of the rest.  Wait!  Don't flame me yet!  Yes, I KNOW that the double
    right button click is for the Double-Menu Requester.  In my experience,
    however, few programs use this feature, so most of the time double-right
    clicks make sense for pushing to the back.  If the active window DOES
    have a DM requester, however, ClickUpFront will ignore the double click
    and let Intuition activate the requester.  This way, ClickUpFront does 
    not interfere with DM requester activity.  If you want to push a window 
    with a DM requester to the back, you have to hold down the shift key when 
    you double click in it.  This may sound awkward at first, but it becomes
    quite natural after a little practice.

    If the active window is the bottom window already (or if there is not 
    active window), then double-clicking the right button will push the 
    active SCREEN to the back of the other screens, and will activate the 
    top window on the next screen (if any).

    Note that the double-right clicks work on the ACTIVE window or screen, 
    not the one that the pointer is on top of.  You will have to select the
    window you want first, then double click in it.

If this is still unsatisfactory, then you can flame me, but please try it out
before you do.

HeliosMouse makes a particularly useful companion to ClickUpFront.  It makes
the double-right clicks work on the window under the pointer.

I hope this satisfies everyone.  The next thing you know, you'll be asking
for a mouse press that will close a window without your having to click the
close gadget :-)

(actually, I've already done that, and it's not very hard.  Maybe it should 
be added to wKeys, as we're beginning to run out of mouse button combinations).

Davide P. Cervone
dpvc@tut.cc.rochester.edu
dpvc@ur-tut.UUCP
DPVC@UORDBV.BITNET