GetVisibleWindowsHandles Function

<< Click to display table of contents >>

GetVisibleWindowsHandles Function

Returns a list of handles of visible top-level windows.

Unit [VCL and LCL] MRVDesktop;

Unit [FMX] fmxMRVDesktop;

Syntax

function GetVisibleWindowHandles: TRVMWindowHandleArray;

This function is implemented for Windows and macOS platforms. For Linux, it always returns an empty list.

Returned handles can be used:

as a parameter of GetWindowTitleByHandle function (to get a window title)

as a parameter of RVMGetWindowRect function (to get a window coordinates)

as a value of TRVCamera.DesktopWindowHandle property