Pascal Scripting: FindWindowByClassName

Prototype:

function FindWindowByClassName(const ClassName: String): HWND;

Description:

Retrieves a handle to the top-level window whose class name matches the specified string. This function does not search child windows, and does not perform a case-sensitive search. Returns 0 if no window is found.