Avoid that the mouse go outside of a frame

Bryan Petty bryan at ibaku.net
Sun Nov 25 13:40:28 PST 2007


On 11/25/07, Reinhard Pagitsch <rprp at gmx.net> wrote:
> Is there a function/method that I can use to avoid that the mouse cursor
> go out of my window?

This is typically undesirable behavior and isn't possible under Mac OS
X, but could be done using wxWindow::WarpPointer on other platforms.

Alternatively, you might actually want to use wxWindow::CaptureMouse
for what you are using this for.

Regards,
Bryan Petty




More information about the wx-users mailing list