473,503 Members | 3,171 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

register keyevent in wxpython

ash
hi,
is there a way to register application wide hotkey in wxpython?
i tried wxWindow::RegisterHotKey(). but the problem is it registers the
hotkey as a system wide hotkey. this causes problems in other
applications running concurrently which use the same hotkey.
i want to do this because i want my app frame (a mdi frame) to accept
the key event and wx.frame accepts only wx.eventCharHook() which raises
no keyevent for normal alphanumeric keys.
any ideas??
thanks in advance for any help.

Dec 9 '05 #1
1 2198
On 9 Dec 2005 01:52:27 -0800, ash <as******@gmail.com> wrote:
hi,
is there a way to register application wide hotkey in wxpython?
i tried wxWindow::RegisterHotKey(). but the problem is it registers the
hotkey as a system wide hotkey. this causes problems in other
applications running concurrently which use the same hotkey.
i want to do this because i want my app frame (a mdi frame) to accept
the key event and wx.frame accepts only wx.eventCharHook() which raises
no keyevent for normal alphanumeric keys.
any ideas??
thanks in advance for any help.

wx.AcceleratorTable
--
http://mail.python.org/mailman/listinfo/python-list

Dec 10 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1692
by: Lannsjö | last post by:
Hi Im trying to learn Java and cant really figure out how to use keyEvents. I want to know if a person has pressed y or n in a method. void doCloseCommand (int status) { statusInfo.setText("Are...
0
1849
by: ghost | last post by:
i have a main form, with user controls populating it. i'm trying to capture a keyevent for the control that's populating the form but it never fires that event. the main form's keypreview...
2
9202
by: hans.duedal | last post by:
The Gecko DOM reference gave me the idea that an onscreen keyboard I was doing should use Key Events, so the user may for instance place a letter anywhere, and such. While this can be handled using...
3
3839
by: true blue | last post by:
below is a simple program to check key event ,it doesnt give any error nor an exception at runtime plz tell where im goin wrong code<text> import java.awt.*; import java.awt.event.*;
0
7188
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6970
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7441
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3156
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3146
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1489
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
720
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
366
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.