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

Home » Public Forums » archive » Reading keystrokes from graphics window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading keystrokes from graphics window [message #39698] Sat, 05 June 2004 12:18
Will is currently offline  Will
Messages: 7
Registered: June 2004
Junior Member
I have a PV Wave program which continuously reads the mouse position in the
graphics window, using it like a joystick. It needs to do this without
waiting for a buttonclick, using the CURSOR, cx, cy, 0 command. While this
works perfectly well, it makes the graphics window active (as if I'd clicked
on it), meaning that keystrokes I'd also like to respond to (using
GET_KBRD(0) ) don't get read by the Wave text window.

I used to work in VMS, & this wasn't a problem -- DECterm text window would
be active & would respond to keystrokes, while the graphics window was also
visible and responding to mouse positions. Now I'm running under windows
(XP) I can only use the mouse.

Is there any way around this? E.g. another way of detecting keystrokes
other than GET_KBRD, that works when the graphics window is enabled?

Cheers,

Will.
[Message index]
 
Read Message
Previous Topic: Moving, Copying, Renaming Files using IDL
Next Topic: Publication-quality plots

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

Current Time: Wed Oct 08 19:51:28 PDT 2025

Total time taken to generate the page: 0.00365 seconds