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

C / C++ / MFC

 
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 
QuestionRe: how to open com port Pin
birajendu1-Jan-06 21:17
birajendu1-Jan-06 21:17 
QuestionThe best way to get the keystrokes in ASCII form Pin
INA_ctive1-Jan-06 15:22
INA_ctive1-Jan-06 15:22 
AnswerRe: The best way to get the keystrokes in ASCII form Pin
Owner drawn1-Jan-06 17:31
Owner drawn1-Jan-06 17:31 
AnswerRe: The best way to get the keystrokes in ASCII form Pin
vishalmore1-Jan-06 19:43
vishalmore1-Jan-06 19:43 
GeneralRe: The best way to get the keystrokes in ASCII form Pin
Owner drawn1-Jan-06 20:19
Owner drawn1-Jan-06 20:19 
GeneralRe: The best way to get the keystrokes in ASCII form Pin
INA_ctive2-Jan-06 5:27
INA_ctive2-Jan-06 5:27 
QuestionCopyTo method in Class String Pin
zpeng1-Jan-06 11:12
zpeng1-Jan-06 11:12 
Questioncommunication between and Bi directional communication between VC and C Pin
sheshidar1-Jan-06 10:21
sheshidar1-Jan-06 10:21 
AnswerRe: communication between and Bi directional communication between VC and C Pin
Prakash Nadar1-Jan-06 17:45
Prakash Nadar1-Jan-06 17:45 
Generalcommunication between VC and C Pin
sheshidar1-Jan-06 22:45
sheshidar1-Jan-06 22:45 
GeneralRe: communication between VC and C Pin
Prakash Nadar1-Jan-06 23:54
Prakash Nadar1-Jan-06 23:54 
QuestionBrush and Window Color ... Pin
Hadi Rezaee1-Jan-06 4:42
Hadi Rezaee1-Jan-06 4:42 
AnswerRe: Brush and Window Color ... Pin
Hadi Rezaee1-Jan-06 5:12
Hadi Rezaee1-Jan-06 5:12 
GeneralRe: Brush and Window Color ... Pin
John R. Shaw1-Jan-06 9:08
John R. Shaw1-Jan-06 9:08 

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.