WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
> Hi Eric:
> Probably should have been clearer: what I need ot do is capture the user pressing a key, say ctrl+t and then give me either the scan code, or the text of the key, like the windows Hotkey control does.
> -----Original Message-----
> From: wx-users@... [mailto:wx-users@...] On Behalf Of Eric Jensen
> Sent: 30 June 2012 15:54
> To: Sean Farrow
> Subject: Re: hotkey control
> Hello Sean,
> Saturday, June 30, 2012, 4:37:21 PM, you wrote:
> SF> Hi:
> SF> Does wxWidgets have an equivalent to the windows Hotkey control?
> It's not 100% clear what you mean with this, but there is:
> http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowregisterhotkey >
Just create an accelerator table with Identifiers and then bind either
one function binding to each key id or a single function bound to all or
a range of the keys you are interested in and use then information in
the event to decide which key you are processing.