Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Pls Help how to read from windows(edit box) Pin
toxcct13-Sep-05 22:39
toxcct13-Sep-05 22:39 
GeneralRe: Pls Help how to read from windows(edit box) Pin
tejaswi-teja13-Sep-05 23:43
tejaswi-teja13-Sep-05 23:43 
GeneralRe: Pls Help how to read from windows(edit box) Pin
toxcct14-Sep-05 0:50
toxcct14-Sep-05 0:50 
JokeRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 1:39
ThatsAlok14-Sep-05 1:39 
GeneralRe: Pls Help how to read from windows(edit box) Pin
toxcct14-Sep-05 1:46
toxcct14-Sep-05 1:46 
JokeRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 18:05
ThatsAlok14-Sep-05 18:05 
GeneralRe: Pls Help how to read from windows(edit box) Pin
14-Sep-05 0:55
suss14-Sep-05 0:55 
GeneralRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 1:39
ThatsAlok14-Sep-05 1:39 
teja_tejaswi wrote:
WND * wndparent,*wndchild1,*wndchild2;
wndparent = Findwindow("WindowName");
cwndchild1= wndparent->GetTopWindow();


If you trying to retrieve content from Window/Edit box thats belong to some other process... then GetWindowText(..) api will not work..

You have to use WM_GETTEXT and WM_GETTEXTLENGTH message to reterive the text of that window.

"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
AnswerRe: Pls Help how to read from windows(edit box) Pin
ky_rerun14-Sep-05 16:22
ky_rerun14-Sep-05 16:22 
GeneralRe: Pls Help how to read from windows(edit box) Pin
ThatsAlok14-Sep-05 17:59
ThatsAlok14-Sep-05 17:59 
QuestionVisual Studio function comments Pin
MartinWA13-Sep-05 22:28
MartinWA13-Sep-05 22:28 
AnswerRe: Visual Studio function comments Pin
Anonymous13-Sep-05 23:20
Anonymous13-Sep-05 23:20 
Questionerror LNK2001 Pin
momer13-Sep-05 22:00
momer13-Sep-05 22:00 
QuestionMessageBox, Help needed Pin
pradish13-Sep-05 21:47
pradish13-Sep-05 21:47 
AnswerRe: MessageBox, Help needed Pin
Nishad S13-Sep-05 23:26
Nishad S13-Sep-05 23:26 
AnswerRe: MessageBox, Help needed Pin
Frank K14-Sep-05 0:32
Frank K14-Sep-05 0:32 
AnswerRe: MessageBox, Help needed Pin
ThatsAlok14-Sep-05 1:45
ThatsAlok14-Sep-05 1:45 
Questionrefreshing the dialog window Pin
a_david12313-Sep-05 21:11
a_david12313-Sep-05 21:11 
AnswerRe: refreshing the dialog window Pin
toxcct13-Sep-05 21:16
toxcct13-Sep-05 21:16 
QuestionInteract with Windows Services Pin
13-Sep-05 21:02
suss13-Sep-05 21:02 
AnswerRe: Interact with Windows Services Pin
prasad_som14-Sep-05 0:03
prasad_som14-Sep-05 0:03 
QuestionRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 1:27
ThatsAlok14-Sep-05 1:27 
AnswerRe: Interact with Windows Services Pin
prasad_som14-Sep-05 21:00
prasad_som14-Sep-05 21:00 
GeneralRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 21:50
ThatsAlok14-Sep-05 21:50 
AnswerRe: Interact with Windows Services Pin
ThatsAlok14-Sep-05 0:46
ThatsAlok14-Sep-05 0:46 

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.