Click here to Skip to main content
15,920,801 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get text on screen ? Pin
MartinOrtiz31-Jul-03 18:09
MartinOrtiz31-Jul-03 18:09 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 18:48
blueinred31-Jul-03 18:48 
AnswerRe: How to get text on screen ? Pin
Toni7831-Jul-03 18:37
Toni7831-Jul-03 18:37 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 19:15
blueinred31-Jul-03 19:15 
GeneralRe: How to get text on screen ? Pin
Toni7831-Jul-03 19:39
Toni7831-Jul-03 19:39 
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 20:38
blueinred31-Jul-03 20:38 
GeneralRe: How to get text on screen ? Pin
Toni7831-Jul-03 21:05
Toni7831-Jul-03 21:05 
GeneralRe: How to get text on screen ? Pin
koxin31-Jul-03 21:39
koxin31-Jul-03 21:39 
Hi,

I'd also like to know a solution to this problem. I'm not proficient in windows programming, but I suggest this:

- get the handle of the active window
- send the window doubleclick message (this should select the word the mouse is pointing at)
- send a message that copies the selection into clipboard
- read the word from clipboard

maybe that once the word is selected it's also possible to retrive it by sending the window some getselection message or something like that.

what do you think?

Koxin

p.s. if you find a solution to this problem please let me know
GeneralRe: How to get text on screen ? Pin
blueinred31-Jul-03 22:36
blueinred31-Jul-03 22:36 
GeneralCFormView Background Pin
DougW4831-Jul-03 15:53
DougW4831-Jul-03 15:53 
GeneralRe: CFormView Background Pin
HPSI31-Jul-03 19:53
HPSI31-Jul-03 19:53 
GeneralRe: CFormView Background Pin
Vitali Halershtein31-Jul-03 21:25
Vitali Halershtein31-Jul-03 21:25 
GeneralJTC.h Pin
hkl31-Jul-03 14:11
hkl31-Jul-03 14:11 
Generaldisable/enable toolbar buttons in a dialog Pin
Marissa18231-Jul-03 13:34
Marissa18231-Jul-03 13:34 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Alexander M.,31-Jul-03 13:46
Alexander M.,31-Jul-03 13:46 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Marissa18231-Jul-03 14:27
Marissa18231-Jul-03 14:27 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
Marissa18231-Jul-03 15:10
Marissa18231-Jul-03 15:10 
GeneralRe: disable/enable toolbar buttons in a dialog Pin
tmangan1-Aug-03 2:00
tmangan1-Aug-03 2:00 
GeneralSending "hello world" through com port to other pc. Pin
IrishSonic31-Jul-03 13:19
IrishSonic31-Jul-03 13:19 
GeneralRe: Sending "hello world" through com port to other pc. Pin
Alexander M.,31-Jul-03 13:43
Alexander M.,31-Jul-03 13:43 
GeneralUpdating an Edit control within a loop Pin
tdmcclure025631-Jul-03 13:15
tdmcclure025631-Jul-03 13:15 
GeneralRe: Updating an Edit control within a loop Pin
Mike Dimmick31-Jul-03 13:19
Mike Dimmick31-Jul-03 13:19 
GeneralRe: Updating an Edit control within a loop Pin
DougW4831-Jul-03 17:43
DougW4831-Jul-03 17:43 
QuestionWindows start time? Pin
JSH_CAN31-Jul-03 13:08
sussJSH_CAN31-Jul-03 13:08 
AnswerRe: Windows start time? Pin
Alexander M.,31-Jul-03 13:48
Alexander M.,31-Jul-03 13:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.