Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: (((((((How do I send a message!)))))) Pin
peshkunta1-Jan-06 22:53
peshkunta1-Jan-06 22:53 
Thanks so much for the response! I'm not very familiar with C++ functions. I know that SendMessage or PostMessage have many versions (all accept different parameters), but I have no experience in using them.

I know how to get the handle of a window/dialog (HWND), and pass the message constant WM_CLOSE, etc., but I'm not sure how to get the class of a text box, hence don't know how to loop through them. Is EnumWindows a function? And how do I use it? That below is what I think I'm most iffy about:

******************************************************************
-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.
******************************************************************

Could you please write me an example on how I would do that? THANKS!!






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 
QuestionIP Address Pin
mehrdadov1-Jan-06 1:10
mehrdadov1-Jan-06 1:10 

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.