my program needs to get the title of the window that has the focus (the window that the user is currently working with)

any ideas?


thanks in advance!!