0
votes

Is it possible to detect a double click on another window in wxwidgets?

In my quest to switch to linux I wanna build a program that reacts to double click on the desktop and the file manager and displays a menu.

Same as listary does on Windows.

Is this something that can be done with wxwidgets (preferably wxpython) under linux? What about on Windows?

2
Maybe this can be of some help: codeproject.com/messages/1822262/… - macroland

2 Answers

2
votes

You can't receive mouse clicks, or any other events, for windows of another process unless you capture the mouse (and never release it, which would be a bad idea).

-1
votes

You can try to use FindWindow() and then Bind() the event handler.