FindWindow

From SCAR Divi Manual
Revision as of 10:26, 3 September 2011 by Freddy (talk | contribs)
Jump to: navigation, search

Definition

function FindWindow(Title: AnsiString): Boolean;

Availability

SCAR Divi 3.00 > Current

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.

See Also