RVMGetWindowRect Function

<< Click to display table of contents >>

RVMGetWindowRect Function

Returns the coordinates of the specified window (relative to the origin of the primary monitor).

Unit [VCL and LCL] MRVCore;

Unit [FMX] fmxMRVCore;

Syntax

function  RVMGetWindowRect(AHWnd: TRVMWindowHandle;
  out ARect: TRVMRect): Boolean;

The function returns True on success. In this case, coordinates are returned in ARect parameter.

See also:

GetVisibleWindowsHandles