MouseMove outside windows

From: Thomas (anonymous_at_discussions.microsoft.com)
Date: 05/13/04


Date: Thu, 13 May 2004 14:06:06 -0700

Hi!
Does anybody know how I can get the mouse coordinates from outside my form? (Everywhere on the screen, nomatter whats beneath)

I use the line:
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.onMouseMove);
to get them from the Form and move them to a method.

thx