Page 1 of 1

Any way to confine the mouse pointer to a specified area?

Posted: Tue Oct 05, 2004 10:47 pm
by vanman
MFC has a ClipCursor function that will confine the mouse pointer to a given area. I was just wondering if wx had this functionality.

Thanks

Posted: Wed Oct 06, 2004 6:57 am
by upCASE
Hi!
I guess not. Catch mouse events in the window and use WarpPointer().
Neat that this won't work on Macs... "Human Interface Guidelines"... Nice :D