Difference between revisions of "FindWindow"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FindWindow(Title: AnsiString): Boolean; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Finds a w...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
==Availability== | ==Availability== | ||
| − | SCAR Divi 3.00 > | + | SCAR Divi 3.00 > 3.34 |
==Description== | ==Description== | ||
| − | Finds a window with the title specified by '''Title''' and if found sets it as the selected client window. | + | Finds a window with the title specified by '''Title''' and if found sets it as the selected client window. Returns [[true]] if the window was found. |
==Example== | ==Example== | ||
| Line 20: | Line 20: | ||
</source> | </source> | ||
| − | [[ | + | ==See Also== |
| − | [[Category: | + | *[[FindWindowTitlePart]] |
| + | *[[FindWindowBySize]] | ||
| + | |||
| + | [[Category:Deprecated Functions]] | ||
Latest revision as of 11:10, 25 July 2012
Definition
function FindWindow(Title: AnsiString): Boolean;
Availability
SCAR Divi 3.00 > 3.34
Description
Finds a window with the title specified by Title and if found sets it as the selected client window. Returns true if the window was found.
Example
begin
if FindWindow('Untitled - Notepad') then
WriteLn('Found notepad')
else
WriteLn('Didn''t find notepad');
end.