Getting selected item in active window
问题 I am using C# to develop an application that works with the clipboard, an was wondering if its possible to get the contents of what the user has selected in the current window, no matter what window it is (e.g. could be FireFox, notepad, etc.). 回答1: I'm not sure if you're going to be able to get a general solution for this problem. Take a look at this link; http://www.eggheadcafe.com/software/aspnet/33899121/get-selected-text-of-active-window-.aspx The author of this post reports that their