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
Any way to confine the mouse pointer to a specified area?
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
I guess not. Catch mouse events in the window and use WarpPointer().
Neat that this won't work on Macs... "Human Interface Guidelines"... Nice
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda