Recognising that a bit of interop may be required, how do I send a mouse click event to a window that is currently not being displayed? I have an application that is running as a service and fiddling about with hidden windows and needs to send a mouse click event to one of them, even though it can't actually display the window.
The normal way I would do it is to simply send a click to the screen in the appropriate location, but obviously that method won't work in this case. Ideas?