List Info

Thread: Re: Getting mouse events outside the control




Re: Getting mouse events outside the control
country flaguser name
Ireland
2007-11-06 10:33:49
Hi Tom,
I suggest you try pyHook.
Radu.

----- Original Message ----
From: "Pajak, Tom (GE Healthcare)" <TomPajakge.com>
To: wxPython-userslists.wxwidgets.org
Sent: Tuesday, November 6, 2007 4:06:16 PM
Subject: [wxPython-users] Getting mouse events outside the control

Hello,
 
Simple question, I have a control, its got focus, but then the user clics somewhere else (desktop lets say).
 
How do I catch a mouse event outside a window.
 
Tom


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
RE: Getting mouse events outside the control
user name
2007-11-06 11:00:06

You could also bind to wx.EVT_ACTIVATE, and your event handler will be called when your application is activated or another window is activated.

 

-Kyle Rickey

 

-----Original Message-----
From: Radu Adrian Ciora [mailto:radu_ciorayahoo.com]
Sent: Tuesday, November 06, 2007 10:34 AM
To: wxPython-userslists.wxwidgets.org
Subject: Re: [wxPython-users] Getting mouse events outside the control

 

Hi Tom,
I suggest you try pyHook.
Radu.

----- Original Message ----
From: "Pajak, Tom (GE Healthcare)" <TomPajakge.com>
To: wxPython-userslists.wxwidgets.org
Sent: Tuesday, November 6, 2007 4:06:16 PM
Subject: [wxPython-users] Getting mouse events outside the control

Hello,

 

Simple question, I have a control, its got focus, but then the user clics somewhere else (desktop lets say).

 

How do I catch a mouse event outside a window.

 

Tom

 


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )