Re: [wxPython-users] how to capture mouse events

2 views
Skip to first unread message

Jason Petrone

unread,
May 22, 2003, 11:06:23 AM5/22/03
to wxPytho...@lists.wxwindows.org
On Thu, May 22, 2003 at 04:55:50PM +0200, Thorsten Kohnhorst wrote:
> Hello,
>
> I would like to temporarily capture all mouse events in a window,
> even if the mouse pointer left the window. I couldn't find the solution
> in the documentation, so I kindly ask for a hint how to do this.
>
> Thanks in advance,

Use win.CaptureMouse() to capture
And win.ReleaseMouse() when you are done

Jason

Thorsten Kohnhorst

unread,
May 22, 2003, 10:55:50 AM5/22/03
to wxPytho...@lists.wxwindows.org
Hello,

I would like to temporarily capture all mouse events in a window,
even if the mouse pointer left the window. I couldn't find the solution
in the documentation, so I kindly ask for a hint how to do this.

Thanks in advance,

yours kodi


--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!


Thorsten Kohnhorst

unread,
May 22, 2003, 11:19:31 AM5/22/03
to wxPytho...@lists.wxwindows.org
Hello Jason,

wow, that was a fast answer!

It's very embarrassing that I managed to overlook this obvious solution.

Thanks a lot for the hint,

Reply all
Reply to author
Forward
0 new messages