From the documentation:
This function is bullet-proof and can be used with any value. If the 'Result' is not zero then the object is valid and initialized, else it returns zero. This is the correct way to ensure that a window is ready to use.
If it finds a valid window its 0 otherwise its non-0.
Code: Select all
hwnd = FindWindow_(#Null, "HTML Help")
Debug IsWindow(hwnd)

