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

Home » Public Forums » archive » Re: middle mouse button emulation in widget_draw
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: middle mouse button emulation in widget_draw [message #45978] Fri, 21 October 2005 13:14
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Benjamin Hornberger wrote:

> So I guess it's safe to check for PRESS = 1 and MODIFIERS = 2, or does
> anybody have other experiences? Any comments?

Only if you're running 6.2:

{ x86 Win32 Windows Microsoft Windows 6.1.1 Oct 11 2004 32 64}

IDL> test_draw
** Structure WIDGET_DRAW, 12 tags, length=44, data length=37:
ID LONG 4
TOP LONG 3
HANDLER LONG 4
TYPE INT 0
X LONG 68
Y LONG 59
PRESS BYTE 2
RELEASE BYTE 0
CLICKS LONG 1
MODIFIERS LONG 0
CH BYTE 0
KEY LONG 0
** Structure WIDGET_DRAW, 12 tags, length=44, data length=37:
ID LONG 4
TOP LONG 3
HANDLER LONG 4
TYPE INT 1
X LONG 68
Y LONG 59
PRESS BYTE 0
RELEASE BYTE 2
CLICKS LONG 1
MODIFIERS LONG 0
CH BYTE 0
KEY LONG 0


You'll need an "if !version.release eq" until that bug gets squashed.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Newbie's question
Next Topic: Anonymous FTP discontinued for IDL Astronomy Library

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

Current Time: Wed Oct 08 18:39:15 PDT 2025

Total time taken to generate the page: 0.00544 seconds