Is there a wx function or procedure that will return the mouse position even when the mouse is not over a wxWindow.
I was going to use a wxTimer to update the coordinates. But then I realized I don't know of any function that retains the mouse position. Please help.
Thanks in advance.
FYI: I know MFC has global hooks, but cross-platform programming is my aim.
Get Mouse Position Topic is solved
- Ryan Norton
- wxWorld Domination!
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
Re: Get Mouse Position
protocol wrote:Is there a wx function or procedure that will return the mouse position even when the mouse is not over a wxWindow.
Code: Select all
wxGetMousePosition()
[Mostly retired moderator, still check in to clean up some stuff]
thanks
I totally forgot to check the ::wx function list.