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

TWidgetSet.ScreenToClient

Converts absolute Screen coordinates into Client relative coordinates.

Declaration

Source position: winapih.inc line 231

public function TWidgetSet.ScreenToClient(

  Handle: HWND;

  var P: TPoint

):Integer; virtual;

Arguments

Handle

  

The handle of the window with the client area.

P

  

The point to convert.

Function result

False on failure.


Version 4.0 Generated 2025-05-03 Home