Hello! Got stuck with no known way to find window at mouse position, is there any func in wxWidgets for that?
Looking for analogue of WindowFromPoint in .net
I need this to mannually apply mouse wheel event on window that is at cursor position so that scroll bar can scroll without having focus on it
Need to keep in mind that window can be covered partly by other window, so I need to get the top off overlaying windows
Thanks in advance!
Get window or wxobject at particular point (at cursor position) Topic is solved
-
- Earned a small fee
- Posts: 15
- Joined: Sat Mar 12, 2022 8:46 pm
Re: Get window or wxobject at particular point (at cursor position)
::wxFindWindowAtPoint()
https://docs.wxwidgets.org/trunk/utils_ ... d61a6a2e1a
https://docs.wxwidgets.org/trunk/utils_ ... d61a6a2e1a
Use the source, Luke!
-
- Earned a small fee
- Posts: 15
- Joined: Sat Mar 12, 2022 8:46 pm
Re: Get window or wxobject at particular point (at cursor position)
Thanks you!doublemax wrote: ↑Fri May 06, 2022 6:39 pm ::wxFindWindowAtPoint()
https://docs.wxwidgets.org/trunk/utils_ ... d61a6a2e1a