Plash #1 I need a function to get the caption of a window and the class of a window by sending that function the hwnd of the window.. im not sure how to use getwindowtext, and if there is one i need a getwindowclass also.