« Return to Thread: hotkey control

RE: hotkey control

by Sean Farrow :: Rate this Message:

| View in Thread

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.
Cheers
Sean.

-----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:
wxWindow::RegisterHotKey:
http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowregisterhotkey

Eric




--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+unsubscribe@...
or visit http://groups.google.com/group/wx-users

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+unsubscribe@...
or visit http://groups.google.com/group/wx-users

 « Return to Thread: hotkey control