Getting the Mouse Pointer Position (C#/WinForms)

added by BlackWasp
7/13/2010 3:02:26 PM

1 Kicks, 313 Views

Many Windows-based programs require the ability to determine the mouse pointer's location. Sometimes the screen position is used, even if the cursor is beyond the boundaries of a window. In other cases the location relative to a form or control is needed.