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

TControl.GetMousePosFromMessage

Converts the coordinates in the specified mouse message from SmallInt to LongInt values.

Declaration

Source position: controls.pp line 1423

protected function TControl.GetMousePosFromMessage(

  const MessageMousePos: TSmallPoint

):TPoint;

Arguments

MessageMousePos

  

TSmallPoint instance with the values converted in the method.

Function result

TPoint instance with the LongInt values for the mouse cursor position.

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