Difference between revisions of "FindWindows"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FindWindows(const Title: string): THwndArray; </source> ==Availability== SCAR Divi 3.35 > Current ==Description== ...") |
(No difference)
|
Revision as of 19:55, 7 August 2012
Definition
function FindWindows(const Title: string): THwndArray;
Availability
SCAR Divi 3.35 > Current
Description
Finds all windows that have the title specified by Title. The title is case-sensitive! An extended version of this function is available as FindWindowsex.
Example
var Wnds: THwndArray; Idx, Len: Integer; begin Wnds := FindWindows('Untitled - Notepad'); Len := Length(Wnds); for Idx := 0 to Len - 1 do WriteLn(Wnds[Idx]); end.