Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsame project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 21:38
VCProgrammer18-Mar-09 21:38 
AnswerRe: same project giving different results when compiled on different machine Pin
Cedric Moonen18-Mar-09 21:44
Cedric Moonen18-Mar-09 21:44 
GeneralRe: same project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 21:47
VCProgrammer18-Mar-09 21:47 
GeneralRe: same project giving different results when compiled on different machine Pin
Stuart Dootson18-Mar-09 22:21
professionalStuart Dootson18-Mar-09 22:21 
GeneralRe: same project giving different results when compiled on different machine Pin
VCProgrammer18-Mar-09 23:07
VCProgrammer18-Mar-09 23:07 
GeneralRe: same project giving different results when compiled on different machine Pin
Stuart Dootson19-Mar-09 1:41
professionalStuart Dootson19-Mar-09 1:41 
AnswerRe: same project giving different results when compiled on different machine Pin
#realJSOP19-Mar-09 5:40
professional#realJSOP19-Mar-09 5:40 
QuestionGetting child windows handle Pin
PankajB18-Mar-09 21:26
PankajB18-Mar-09 21:26 
Hi There.

I have a Dialog based Application: Title "ABC Application"

I want to launch this appiication and then want to set an edit box available on this window with some text.
This is what I am doing right now.

ShellExecute(NULL, L"open", L"C:\\Program Files\\ABC.exe", NULL, NULL, SW_SHOWNORMAL);


HWND WndOST2PST = NULL;
WndOST2PST = ::FindWindow(NULL,L"ABC Application");


if(WndOST2PST == NULL)
      return false;


//Need to get handle for child windows



//SetWindowText(WndOST2PST, L"Pankaj");

SendMessage(WndOST2PST, WM_DESTROY, 0, 0);


I am not able to get handle of that specific edit control. Please provide some pointers for the same.

Thanks
PanB
AnswerRe: Getting child windows handle Pin
Sophiya Chen18-Mar-09 22:22
Sophiya Chen18-Mar-09 22:22 
AnswerRe: Getting child windows handle Pin
Sarath C18-Mar-09 22:27
Sarath C18-Mar-09 22:27 
AnswerRe: Getting child windows handle Pin
sonu.saini.76@gmail.com19-Mar-09 0:18
sonu.saini.76@gmail.com19-Mar-09 0:18 
AnswerRe: Getting child windows handle Pin
sonu.saini.76@gmail.com19-Mar-09 4:59
sonu.saini.76@gmail.com19-Mar-09 4:59 
QuestionHow to convert RTF to plain text ? Pin
csc18-Mar-09 20:25
csc18-Mar-09 20:25 
AnswerRe: How to convert RTF to plain text ? Pin
Stuart Dootson18-Mar-09 22:24
professionalStuart Dootson18-Mar-09 22:24 
QuestionProblem in Images display on dialog. Pin
hemlat18-Mar-09 19:10
hemlat18-Mar-09 19:10 
AnswerRe: Problem in Images display on dialog. Pin
_AnsHUMAN_ 18-Mar-09 20:21
_AnsHUMAN_ 18-Mar-09 20:21 
GeneralRe: Problem in Images display on dialog. Pin
hemlat18-Mar-09 21:07
hemlat18-Mar-09 21:07 
GeneralRe: Problem in Images display on dialog. Pin
_AnsHUMAN_ 19-Mar-09 1:23
_AnsHUMAN_ 19-Mar-09 1:23 
GeneralRe: Problem in Images display on dialog. Pin
hemlat19-Mar-09 21:06
hemlat19-Mar-09 21:06 
Questionhow to convert legacy C++ library with nested class and callback to managed code [modified] Pin
Frank_Q18-Mar-09 16:57
Frank_Q18-Mar-09 16:57 
AnswerRe: how to convert legacy C++ library with nested class and callback to managed code Pin
Frank_Q19-Mar-09 16:03
Frank_Q19-Mar-09 16:03 
GeneralRe: how to convert legacy C++ library with nested class and callback to managed code Pin
David Knechtges20-Mar-09 10:07
David Knechtges20-Mar-09 10:07 
GeneralRe: how to convert legacy C++ library with nested class and callback to managed code Pin
Frank_Q21-Mar-09 5:03
Frank_Q21-Mar-09 5:03 
Questionproblem accessing member functions from LRESULT CALLBACK Function() { } Pin
abiemann18-Mar-09 15:17
abiemann18-Mar-09 15:17 
AnswerRe: problem accessing member functions from LRESULT CALLBACK Function() { } Pin
«_Superman_»18-Mar-09 16:48
professional«_Superman_»18-Mar-09 16:48 

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.