hi i want the code for to get the position of the mouse where the clicking operation is performed outside the form. thx in advance

Override WNDPROC and grab the co-ordinates from the WM_MOUSEDOWN message