comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Button (etc.) events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Button (etc.) events [message #3683] Fri, 03 March 1995 10:35 Go to next message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
sterner@strdev.jhuapl.edu (Ray Sterner) writes:

> sjt@xuna.sr.bham.ac.uk (James Tappin) writes:

> . . .
>> At present buttons return an event only for the left mouse button. I
>> would like to be able to return events from all buttons (with an
>> EVENT.BUTTON field to identify which button was used) so that it would be
>> possible (say) to have an arrangement where LEFT BUTTON = do action,
>> RIGHT BUTTON = display help text.
> . . .
>> How do other users feel about this? Should we lean on RSI?

> I like the idea. However, it would cause portability problems for
> computers with mice with button deficit disorder. I like mice with
> lots of buttons, the more the better.

> Ray Sterner sterner@tesla.jhuapl.edu
> The Johns Hopkins University North latitude 39.16 degrees.
> Applied Physics Laboratory West longitude 76.90 degrees.
> Laurel, MD 20723-6099
> WWW Home page: ftp://fermi.jhuapl.edu/www/s1r/people/res/res.html

This shouldn't be a problem with PCs. One can emulate the middle button by
pressing the left and right button simultaneously. We already have software
that uses three mouse buttons in graphics windows, so there shouldn't be any
complaint about extending that concept to widgets.

Can one buy a multi-button mouse for a Mac? Even if not, there ought to be a
way to emulate a three-button mouse through pull-down menus. If MacOS doesn't
provide this capability, then IDL could provide it itself. As stated before,
this capability is needed for other IDL software.

Bill Thompson
Re: Button (etc.) events [message #3684 is a reply to message #3683] Fri, 03 March 1995 10:27 Go to previous messageGo to next message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
sjt@xuna.sr.bham.ac.uk (James Tappin) writes:

> The following is an idea which occurred to me for an improvement in the
> IDL widget system.

> At present buttons return an event only for the left mouse button. I
> would like to be able to return events from all buttons (with an
> EVENT.BUTTON field to identify which button was used) so that it would be
> possible (say) to have an arrangement where LEFT BUTTON = do action,
> RIGHT BUTTON = display help text.

> This could also be applied to list widgets (and sliders?), and must be
> possible as DRAW widgets do identify the button used.

> How do other users feel about this? Should we lean on RSI?

> --
> +------------------------+---------------------------------- --+---------+
> | James Tappin, | School of Physics & Space Research | O__ |
> | sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
> | Ph: 021-414-6462. Fax: 021-414-3722 | |
> +----------------------------------------------------------- --+---------+

I certainly think that should be a capability. I would use it if it were
available.

Bill Thompson
Re: Button (etc.) events [message #3710 is a reply to message #3683] Fri, 03 March 1995 15:29 Go to previous message
patterso is currently offline  patterso
Messages: 36
Registered: February 1995
Member
William Thompson (thompson@orpheus.nascom.nasa.gov) wrote:
: sterner@strdev.jhuapl.edu (Ray Sterner) writes:


: This shouldn't be a problem with PCs. One can emulate the middle button by
: pressing the left and right button simultaneously. We already have software
: that uses three mouse buttons in graphics windows, so there shouldn't be any
: complaint about extending that concept to widgets.

: Can one buy a multi-button mouse for a Mac? Even if not, there ought to be a
: way to emulate a three-button mouse through pull-down menus. If MacOS doesn't
: provide this capability, then IDL could provide it itself. As stated before,
: this capability is needed for other IDL software.

: Bill Thompson

Couldn't we just use the "apple" buttons to have mouse button, MB+left apple,
MB+right apple - that gives 3 buttons. Could extend this even further :)
My Sun keyboard would give me about 150 button choices :)

Tim
Re: Button (etc.) events [message #3732 is a reply to message #3684] Tue, 28 February 1995 09:10 Go to previous message
sterner is currently offline  sterner
Messages: 106
Registered: February 1991
Senior Member
sjt@xuna.sr.bham.ac.uk (James Tappin) writes:

. . .
> At present buttons return an event only for the left mouse button. I
> would like to be able to return events from all buttons (with an
> EVENT.BUTTON field to identify which button was used) so that it would be
> possible (say) to have an arrangement where LEFT BUTTON = do action,
> RIGHT BUTTON = display help text.
. . .
> How do other users feel about this? Should we lean on RSI?

I like the idea. However, it would cause portability problems for
computers with mice with button deficit disorder. I like mice with
lots of buttons, the more the better.

Ray Sterner sterner@tesla.jhuapl.edu
The Johns Hopkins University North latitude 39.16 degrees.
Applied Physics Laboratory West longitude 76.90 degrees.
Laurel, MD 20723-6099
WWW Home page: ftp://fermi.jhuapl.edu/www/s1r/people/res/res.html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Benchmarks for IDL for Windows/Windows NT?
Next Topic: Where are 3D PIE CHART/EXPLODING PIE CHART IDL routines?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:25:28 PDT 2025

Total time taken to generate the page: 0.00663 seconds