Page 1 of 1

OpenWindow() and ExamineKeyBoard()

Posted: Mon Jan 30, 2023 8:45 am
by itzybitzyspider
How do I detect keyboard presses in an active window? How would I bind an event to capture a keyboard press?

I'm trying to capture things like function keys, and certain ctrl-L or something like that.

There are examples surrounding the OpenScreen() and detecting keyboards but am a bit boggled how to do it with Windows?

Thanks

Re: OpenWindow() and ExamineKeyBoard()

Posted: Mon Jan 30, 2023 9:16 am
by Peter
Take a look at AddKeyboardShortcut().

Re: OpenWindow() and ExamineKeyBoard()

Posted: Mon Jan 30, 2023 10:48 am
by itzybitzyspider
Thank you v much!