[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'InterfaceBase' (#lcl)

TWidgetSet.GetCursorPos

Gets the mouse cursor position, in screen coordinates.

Declaration

Source position: winapih.inc line 120

public function TWidgetSet.GetCursorPos(

  var lpPoint: TPoint

):Boolean; virtual;

Arguments

lpPoint

  

Receives the mouse coordinates.

Function result

False on failure.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.