I am developing an VB.NET 2008 application, that will need to detect double clicks on desktop screen.
I am aware of the global mouse hook written in VB.NET, from the following internet page:
but this always include clicks on buttons, icons and other items, and from the above example it seems that the desktop and the contained icons from the desktop, always have the same handle and classname.
What I need is to detect ONLY that double-clicks which are not connected with any action (those messages which system is not passing to any other application neither interpret by its own like double-clicks on icons).
Any ideas on how I could filter-out application/icons connected double clicks ?
Just double click on empty desktop area.
Thank you in advance.