Does anyone know how to Detect Mouse Click Anywhere on Window, Not just on form?

So it happens we are faced with some kind of the same problem.
Look at my thread "Problem with 2 forms" maybe it helps.

But the window *IS* the form, unless you meant desktop.