I tried to find an example for that, but I failed. Can someone tell me what method to use to get the current text selection. I know it's possible in .NET 4.. but I want to make it using winapi so I can use it in .NET 2.
EDIT: This is only possible with UI Autonation.