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

Home » Public Forums » archive » keybord events when cursor in window
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
keybord events when cursor in window [message #687] Wed, 13 January 1993 09:15
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
Is it possible
to open a window,
place the cursor in that window and
nevertheless get keybord events with GET_KBRD() ?

Code :

window, /free, xs=256, ys=256 ; open window
tvcrs, 128, 128, /device ; place cursor in window
q = get_kbrd(1) ; ask for keybord event
<hit any key>
print, q ; show key


K.Knipp ( WAVE CL 4.0 / SPARC 1 )

__ ____ __
/ // _ \ / / Karlheinz Knipp Tel. 0511 - 762 4922
/ // /_/ // / Uni Hannover Fax. 0511 - 762 2483
/ // ____// / Institut fuer Photogrammetrie
/ // / / / Nienburger Str.1 email knipp@ipi.uni-hannover.de
/_//_/ /_/ FRG 3000 Hannover 1
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: background color of IDL Widgets
Next Topic: Re: incorporating graphics into PC files

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

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

Total time taken to generate the page: 0.00504 seconds