Declaration:  FindWindow(StartsWith, Contains, Excludes: String; Exact: Boolean): Integer;
Finds a window based on the given criteria. Returns the window handle if successfull or 0 if the window is not found.

Contains, Excludes and Exact are optional.

Source Code:

focuswindow(Findwindow('Properties'));