F
Figmo
I am writing a language translation app. It will run minimized to
the tray. I want to setup a global hotkey that a user can hit that
will capture whatever text is highlighted in the current window and
translate it. The current app could be a web browser, Word, Notepad,
whatever.
Can somebody give me some help on what API's to call to get a handle
to whatever window (from whatever application) has focus so that I can
get selected text?
the tray. I want to setup a global hotkey that a user can hit that
will capture whatever text is highlighted in the current window and
translate it. The current app could be a web browser, Word, Notepad,
whatever.
Can somebody give me some help on what API's to call to get a handle
to whatever window (from whatever application) has focus so that I can
get selected text?