So I'm working on an application that pastes things into RTF boxes or any text box really utilizing the clipboard.
I need to be able to tell what window users have selected so that my application can determine if it should paste the data there or not.
Is there a way to read the name of the currently selected window, so that I can determine if they should be able to past in it?
Thanks