Am doing an “add-on” to a running application, I use it to manipulate the application to execute several timed commands that the running application makes taxing for the operator to do in sequence. It’s just a no border, always on top rectangle that fits in an empty space the application has.
My problem is as follows, the operator using the main application and the window on top of it that provides added functionality has to click two times before the buttons on the “add-on” register the click. I believe the first gains focus and the second actually registers the click. Is there any way to make the “add-on” running on top of the other software to register the button click on the first interaction with a mouse left button ?
Edit 1: forgot to mention, this is running on windows target