Hello everyone, i am looking for a way to get the selected text (current selection by the user) in every app, like notepad, word, IE or Firefox. Something like GetForegroundWindow -> GetSelectedText would be great.
I'd also like to know if there is any way i can get the selected files and/or folders from the windows explorer. I read that i can do this via Shell32 and SHDocVw but these don't work in Vista anymore which is not acceptable for me. The reason i ask this is because my app (which runs in the background) needs this information so it can assist the user with these objects (move files, copy files, copy the selected text to the clipboard). That means i don't want to integrate some kind of own explorer in my app. Thanks very much for any kind of input. Greets, dh (Crosspost from http://groups.google.com/group/microsoft.public.dotnet.languages.vb)
