Difference between revisions of "FindWindowTitlePart"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function FindWindowTitlePart(Title: AnsiString; CaseSensitive: Boolean): Boolean; </source> ==Availability== SCAR Divi 3.00 > C...") |
|||
Line 5: | Line 5: | ||
==Availability== | ==Availability== | ||
− | SCAR Divi 3.00 > | + | SCAR Divi 3.00 > 3.35 |
==Description== | ==Description== | ||
Line 24: | Line 24: | ||
*[[FindWindowBySize]] | *[[FindWindowBySize]] | ||
− | [[Category: | + | [[Category:Deprecated Functions]] |
− |
Revision as of 03:03, 25 July 2012
Definition
function FindWindowTitlePart(Title: AnsiString; CaseSensitive: Boolean): Boolean;
Availability
SCAR Divi 3.00 > 3.35
Description
Finds a window with it's title containing a certai part specified by Title and if found sets it as the selected client window. If CaseSensitive is true, it will search perform a case sensitive search. Returns true if the window was found.
Example
begin if FindWindowTitlePart('Notepad', False) then WriteLn('Found notepad') else WriteLn('Didn''t find notepad'); end.