开发者

How to make a right-click translation dictionary application?

I'm trying to write a dictionay application on C#. There is a scenarios that user selects a text and press a hot-key, I want to pop-up a quick windows that display the search result of the selected word (just like Lingoes does开发者_如何学编程)

How would I do it in C#?

Thanks in advance


Start with Google this:

  • hooks, global hotkeys (for monitoring global keyboard and mouse events)
  • WinAPI (to do such tricks as grab any selected text)


I've written program you're talking about. You can check the code here - IDictionary.

Regards

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜