Display.getCursorLocation

Returns the location of the on-screen pointer relative to the top left corner of the screen.

@return the cursor location

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

class Display
getCursorLocation
(
)

Meta