Robert #1 Alternatively you can edit the .decls file entry for FindWindow, replace the class$ parameter with an integer (class%) then just set that parameter to 0 in your code and you don't have to worry about finding out the class name.