Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General Discussion » View Thread |
Messages 1 to 2 of 2 total |
Get text selected in any window |
Thu, Jan 4 2007 3:02 PM | Permanent Link |
Q37 | HNY to you all.
I know maybe this is not the right place to post this question but I'm beginning to desperate (again). I'm trying to make a kind of dictionary and I want that, if the user wants to get the info about an specific item show in any document (word, email, etc) he/she will only have to highlight the word, press a combination of keys and my application will search and present the information. I can manage to get the keys pressed from outside but how can I pass the highlighted text to my application? Thanks in advance for your help |
Thu, Jan 4 2007 11:40 PM | Permanent Link |
"Clive" | Hi,
You need to do a FindwindowEx to get the Current application and control, followed by a SendMessage with WM_GETTEXT to get the text Try googleing on these and you should come up with some sample code Thanks Clive. "Q37" <lopoio@jumpy.it> wrote in message news:2C16F9CE-02B5-4CE6-89F8-74B700F363F6@news.elevatesoft.com... > HNY to you all. > > I know maybe this is not the right place to post this question but I'm > beginning to > desperate (again). > > I'm trying to make a kind of dictionary and I want that, if the user wants > to get the info > about an specific item show in any document (word, email, etc) he/she will > only have to > highlight the word, press a combination of keys and my application will > search and present > the information. I can manage to get the keys pressed from outside but how > can I pass the > highlighted text to my application? > > Thanks in advance for your help > |
This web page was last updated on Sunday, May 5, 2024 at 07:30 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |