how do i find out the class of an application so that i can use the function findwindow, to get its handle?