Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Deleting ini key-value using API Pin
_AnsHUMAN_ 29-Apr-09 23:59
_AnsHUMAN_ 29-Apr-09 23:59 
AnswerRe: Deleting ini key-value using API Pin
CPallini30-Apr-09 0:02
mveCPallini30-Apr-09 0:02 
GeneralRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:05
CodingLover30-Apr-09 0:05 
QuestionRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:18
CodingLover30-Apr-09 0:18 
AnswerRe: Deleting ini key-value using API Pin
_AnsHUMAN_ 30-Apr-09 0:33
_AnsHUMAN_ 30-Apr-09 0:33 
QuestionRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:49
CodingLover30-Apr-09 0:49 
AnswerRe: Deleting ini key-value using API Pin
Rajesh R Subramanian30-Apr-09 0:58
professionalRajesh R Subramanian30-Apr-09 0:58 
QuestionDetect text (word) under mouse pointer Pin
Héctor Pavón29-Apr-09 22:50
Héctor Pavón29-Apr-09 22:50 
Hi forum!

I'm wondering how could I read the word behind the mouse pointer. Let's say my app. has a CRichEditView and when user stops moving the mouse I want to grab the word that is under the pointer, so I can show a tooltip with certain info. Yes in a fashion like Visual Studio displays a variable value when you mouse over it in debugging mode.

After googling for a couple of days I've just found some approaches like using IAccessible class from MS Active Accesibility:

http://blogs.msdn.com/oldnewthing/archive/2004/04/23/118893.aspx

But it just gives the whole content of the view. And I guess it's not trivial to get the mouse coordinates and translate it into a document position.

Any clues, code samples, references or even claps in the shoulder will be much appreciated.

Thanks in advance
AnswerRe: Detect text (word) under mouse pointer Pin
Stephen Hewitt30-Apr-09 0:02
Stephen Hewitt30-Apr-09 0:02 
GeneralRe: Detect text (word) under mouse pointer Pin
Héctor Pavón30-Apr-09 5:27
Héctor Pavón30-Apr-09 5:27 
Questionupdating from vc2002 to vc2005 Pin
002comp29-Apr-09 22:30
002comp29-Apr-09 22:30 
AnswerRe: updating from vc2002 to vc2005 Pin
_AnsHUMAN_ 29-Apr-09 22:35
_AnsHUMAN_ 29-Apr-09 22:35 
GeneralRe: updating from vc2002 to vc2005 Pin
002comp29-Apr-09 22:53
002comp29-Apr-09 22:53 
QuestionRe: updating from vc2002 to vc2005 Pin
David Crow30-Apr-09 3:51
David Crow30-Apr-09 3:51 
Question::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 22:10
PankajB29-Apr-09 22:10 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 22:23
professionalRajesh R Subramanian29-Apr-09 22:23 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 22:27
PankajB29-Apr-09 22:27 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 22:32
professionalRajesh R Subramanian29-Apr-09 22:32 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Cedric Moonen29-Apr-09 22:27
Cedric Moonen29-Apr-09 22:27 
QuestionRe: ::ShellExecute - Problem passing arguments Pin
CPallini29-Apr-09 22:32
mveCPallini29-Apr-09 22:32 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 22:42
PankajB29-Apr-09 22:42 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Michael Schubert29-Apr-09 22:51
Michael Schubert29-Apr-09 22:51 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 22:52
professionalRajesh R Subramanian29-Apr-09 22:52 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
CPallini29-Apr-09 23:02
mveCPallini29-Apr-09 23:02 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Michael Schubert29-Apr-09 23:16
Michael Schubert29-Apr-09 23:16 

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.