[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 121

public function TWidgetSet.GetCursorPos(

  var lpPoint: TPoint

):Boolean; virtual;

Arguments

lpPoint

  

Receives the mouse coordinates.

Function result

False on failure.


Version 4.0 Generated 2025-05-03 Home