VB.net — Getting mouse coordinates outside the form
问题 I'm writing a simple program in Vb.net that collects information. such things as mouse x y coordinates, Pixel color, and keystroke numbers. I would like to be able to view the x and y coordinates of the cursor anywhere on the screen instead of just over the form, and i would like to do this in the simplest way possible. One way i have achieved the desired effect is with the following settings: Picturebox2: BackColor = Red image = 3 x 2 pixel image (Hardly visible, but is required all the same