Get Selected text from other window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,
I am wondering if there is anyway, I could detect if some text gets
selected by the user in an external application. To give you an example,
I would like to get the selected text same way as done by Babylone
application.


Regards,
Joe
 
Hello [Joe],

It's not so obvious what Babylone app do :)
Do u want to get the content of other app or what?


[> Hi all,
[> I am wondering if there is anyway, I could detect if some text
[> gets
[> selected by the user in an external application. To give you an
[> example,
[> I would like to get the selected text same way as done by Babylone
[> application.
[>
[> Regards, Joe
[>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Hello [Joe],

Find window that u need (use FindWindow API function), then find you control
and use WM_GETTEXT message to copy content of you control

[> Yes , I want to get the content of other app!!!
[>
[> "Michael Nemtsev" wrote:
[>
Hello [Joe],

It's not so obvious what Babylone app do :)
Do u want to get the content of other app or what?
[> Hi all,
[> I am wondering if there is anyway, I could detect if some text
[> gets
[> selected by the user in an external application. To give you an
[> example,
[> I would like to get the selected text same way as done by Babylone
[> application.
[>
[> Regards, Joe
[>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top