Method | Description | |
---|---|---|
GetMousePosition ( Visual relativeTo ) : Point |
Returns the mouse cursor location. This method is necessary during a drag-drop operation because the WPF mechanisms for retrieving the cursor coordinates are unreliable.
|
Method | Description | |
---|---|---|
GetCursorPos ( Win32Point &pt ) : bool | ||
ScreenToClient ( |
public static GetMousePosition ( Visual relativeTo ) : Point | ||
relativeTo | Visual | The Visual to which the mouse coordinates will be relative. |
return | Point |