Mouse Focus
Declan McMullen
declan.mcmullen at gmail.com
Fri Apr 4 08:25:44 PDT 2008
Hey Guys,
I'm looking to replicate vmware style behaviour when it comes to mouse
capturing. I want my widgets program to capture the mouse and lock it inside
the panel.
Then when a key is pressed it releases the mouse in order for it to be used
in other software. Similiar to vmware operating in a window.
I tried using the CaptureMouse() method but instead of moving the mouse into
my window it brought up a windows wait mouse pointer, the egg timer.
I'm also handing mouse capture lost and calling ReleasMouse() when it
occurs.
Any guidance on how to get my program to grab the mouse and not let it out
of the frame, would be much appreciated.
-- =
http://www.computing.dcu.ie/~dmcmullen
declan.mcmullen at computing.dcu.ie
School of Computing
Postgrad Bay A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080404/ba5=
fc357/attachment.htm
More information about the wx-users
mailing list