Click here to Skip to main content
15,911,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: could anybody please explain to me how come this happen? Pin
rabih_kai2-Jan-06 2:08
rabih_kai2-Jan-06 2:08 
GeneralRe: could anybody please explain to me how come this happen? Pin
ewighell2-Jan-06 15:06
ewighell2-Jan-06 15:06 
AnswerRe: could anybody please explain to me how come this happen? Pin
Owner drawn1-Jan-06 23:06
Owner drawn1-Jan-06 23:06 
GeneralRe: could anybody please explain to me how come this happen? Pin
ewighell2-Jan-06 1:55
ewighell2-Jan-06 1:55 
QuestionSimple DLL Question... Pin
Axonn Echysttas1-Jan-06 22:14
Axonn Echysttas1-Jan-06 22:14 
AnswerRe: Simple DLL Question... Pin
sunit51-Jan-06 22:29
sunit51-Jan-06 22:29 
GeneralRe: Simple DLL Question... Pin
sunit51-Jan-06 22:31
sunit51-Jan-06 22:31 
GeneralRe: Simple DLL Question... Pin
Axonn Echysttas1-Jan-06 23:34
Axonn Echysttas1-Jan-06 23:34 
QuestionAssignProcessToJobObject from a different process Pin
Chintoo7231-Jan-06 21:50
Chintoo7231-Jan-06 21:50 
Questionhow to get my IP Pin
islheg1-Jan-06 21:21
islheg1-Jan-06 21:21 
AnswerRe: how to get my IP Pin
mehrdadov1-Jan-06 22:11
mehrdadov1-Jan-06 22:11 
AnswerRe: how to get my IP Pin
ThatsAlok1-Jan-06 22:43
ThatsAlok1-Jan-06 22:43 
QuestionMSVC Your own toy os made EASY. Pin
kmcguire34131-Jan-06 21:17
kmcguire34131-Jan-06 21:17 
QuestionCD Write Pin
mehrdadov1-Jan-06 20:47
mehrdadov1-Jan-06 20:47 
AnswerRe: CD Write Pin
kakan2-Jan-06 1:07
professionalkakan2-Jan-06 1:07 
Questionplease help me (need help about class,pointers and etc) Pin
neodeaths1-Jan-06 20:44
neodeaths1-Jan-06 20:44 
AnswerRe: please help me (need help about class,pointers and etc) Pin
ewighell1-Jan-06 23:00
ewighell1-Jan-06 23:00 
Question[Message Deleted] Pin
B.M.Sudhakar1-Jan-06 19:46
B.M.Sudhakar1-Jan-06 19:46 
AnswerRe: Problem with IHTMLElement2--Help Me Please Pin
ThatsAlok1-Jan-06 22:03
ThatsAlok1-Jan-06 22:03 
AnswerRe: Problem with IHTMLElement2--Help Me Please Pin
Sheng Jiang 蒋晟2-Jan-06 15:00
Sheng Jiang 蒋晟2-Jan-06 15:00 
Question(((((((How do I send a message!)))))) Pin
peshkunta1-Jan-06 18:55
peshkunta1-Jan-06 18:55 
AnswerRe: (((((((How do I send a message!)))))) Pin
vishalmore1-Jan-06 19:39
vishalmore1-Jan-06 19:39 
Hi peshkunta,

You want to retrieve the text from the text box of some Instant messenger?
What all you require are
1. HWND of -- IM
2. Class name for text box (most of cases it's "Edit")

The API's you would require are...
1. EnumWindows:
-Pass IM HWND as 1 param, and give your (own) callback function name as
second param to this API.
-Loop through the text boxes inside IM (if more text boxes exists).
-When ever you get the text box from where you want to retrive the text
return TRUE from callback to terminate the enumeration. (one possible
approach to compare the text boxes is compare class name)
-EnumWindows must return you the HWND to (desired) text box.
2. PostMessage
-Use PostMessage to get the text from the text box.

Pseudo code is done... now get in action to retrive the text !

all the very best !

Cheers,
Vishal

GeneralRe: (((((((How do I send a message!)))))) Pin
peshkunta1-Jan-06 22:53
peshkunta1-Jan-06 22:53 
Questionhow to open com port Pin
birajendu1-Jan-06 18:31
birajendu1-Jan-06 18:31 
AnswerRe: how to open com port Pin
includeh101-Jan-06 21:03
includeh101-Jan-06 21:03 

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.