Click here to Skip to main content
15,912,457 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I test it, you are right! Pin
Nish Nishant21-Mar-02 20:52
sitebuilderNish Nishant21-Mar-02 20:52 
GeneralDirectSound Audio(urgent help!) Pin
Peksi21-Mar-02 16:53
Peksi21-Mar-02 16:53 
GeneralAllocate large memory space using calloc Pin
21-Mar-02 15:03
suss21-Mar-02 15:03 
GeneralRe: Allocate large memory space using calloc Pin
Nguyen Binh21-Mar-02 17:28
Nguyen Binh21-Mar-02 17:28 
GeneralRe: Allocate large memory space using calloc Pin
22-Mar-02 18:16
suss22-Mar-02 18:16 
GeneralRe: Allocate large memory space using calloc Pin
22-Mar-02 18:16
suss22-Mar-02 18:16 
GeneralCalculation display in Edit Boxes Pin
joeperris21-Mar-02 14:32
joeperris21-Mar-02 14:32 
GeneralRe: Calculation display in Edit Boxes Pin
l a u r e n21-Mar-02 21:07
l a u r e n21-Mar-02 21:07 
GeneralRe: Calculation display in Edit Boxes Pin
joeperris22-Mar-02 2:22
joeperris22-Mar-02 2:22 
GeneralWindows programming not using MFC. Pin
nay21-Mar-02 13:59
nay21-Mar-02 13:59 
GeneralRe: Windows programming not using MFC. Pin
Nish Nishant21-Mar-02 14:07
sitebuilderNish Nishant21-Mar-02 14:07 
GeneralRe: Windows programming not using MFC. Pin
nay21-Mar-02 14:04
nay21-Mar-02 14:04 
GeneralRe: Windows programming not using MFC. Pin
Jon Sagara21-Mar-02 14:04
Jon Sagara21-Mar-02 14:04 
QuestionHow to extract string from where mouse has pointed to? Pin
Li-kai Liu (Angus)21-Mar-02 13:14
Li-kai Liu (Angus)21-Mar-02 13:14 
AnswerRe: How to extract string from where mouse has pointed to? Pin
Christian Graus21-Mar-02 13:34
protectorChristian Graus21-Mar-02 13:34 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Li-kai Liu (Angus)21-Mar-02 13:55
Li-kai Liu (Angus)21-Mar-02 13:55 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Christian Graus21-Mar-02 14:14
protectorChristian Graus21-Mar-02 14:14 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Michael Dunn21-Mar-02 17:10
sitebuilderMichael Dunn21-Mar-02 17:10 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Li-kai Liu (Angus)21-Mar-02 18:28
Li-kai Liu (Angus)21-Mar-02 18:28 
AnswerRe: How to extract string from where mouse has pointed to? Pin
moliate21-Mar-02 14:43
moliate21-Mar-02 14:43 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Christian Graus21-Mar-02 15:14
protectorChristian Graus21-Mar-02 15:14 
GeneralRe: How to extract string from where mouse has pointed to? Pin
Li-kai Liu (Angus)21-Mar-02 15:38
Li-kai Liu (Angus)21-Mar-02 15:38 
GeneralRe: How to extract string from where mouse has pointed to? Pin
moliate21-Mar-02 16:23
moliate21-Mar-02 16:23 
ykliu wrote:
But doesn't getting innerText return
all text that an element has?


Unfortionally, it does.... (similar to GetWindowText)

I really don't know how to get a specific word or character. A possible (but probably not the best) solution would be to make a copy of the element and gradually update the text so it removes one word after another. At the same time reduce the mouse coordinates by the difference between the original elements lower right corner, and the copys lower right. When the mouse goes out of the bounding box, you have the word pointed at... (hopefully)

/moliate
GeneralRe: How to extract string from where mouse has pointed to? Pin
Li-kai Liu (Angus)21-Mar-02 17:52
Li-kai Liu (Angus)21-Mar-02 17:52 
GeneralUrgent- Need ur assistance Pin
binnu21-Mar-02 13:18
binnu21-Mar-02 13:18 

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.