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

Home » Public Forums » archive » Keyboard-events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Keyboard-events [message #13138] Tue, 20 October 1998 00:00 Go to previous message
Markku Lappalainen is currently offline  Markku Lappalainen
Messages: 1
Registered: October 1998
Junior Member
How I can add keyboard-events on my IDL-program?

get_kbrd()-function can be used but that seems to work only if
keyboard-focus is on my IDL-DE. Problem is to receive keyboards button
pressing on my widgets.. I have window with some buttons, sliders, droplists
etc and I need to control my UI also from keyboard so by pressing e.g. key
'b' would have the same same effect as pressing some button from my UI with
mouse.

I have timer-event and I could add get_kbrd(0) function inside it to check
if any buttons has been pressed from keyboard. Now get_kbrd returns always 0
unless I activate my IDL-DE and press it then. Do I need to 'keyboard-focus'
on my widget or what?

Yours, Markku
[Message index]
 
Read Message
Read Message
Previous Topic: Group leader
Next Topic: Re: several quick questions

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

Current Time: Wed Oct 08 17:35:29 PDT 2025

Total time taken to generate the page: 0.00367 seconds