Click here to Skip to main content
15,895,656 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHosting a Java application within an MFC application using JNI Pin
Psyinx21-Apr-09 22:31
Psyinx21-Apr-09 22:31 
AnswerRe: Hosting a Java application within an MFC application using JNI Pin
Cedric Moonen21-Apr-09 22:41
Cedric Moonen21-Apr-09 22:41 
QuestionFolder Time Pin
Davitor21-Apr-09 22:27
Davitor21-Apr-09 22:27 
AnswerRe: Folder Time Pin
_AnsHUMAN_ 21-Apr-09 22:29
_AnsHUMAN_ 21-Apr-09 22:29 
AnswerRe: Folder Time Pin
Stuart Dootson21-Apr-09 22:53
professionalStuart Dootson21-Apr-09 22:53 
QuestionHow to get cin cout in MFC dialog based application Pin
amitovoip21-Apr-09 22:25
amitovoip21-Apr-09 22:25 
AnswerRe: How to get cin cout in MFC dialog based application Pin
_AnsHUMAN_ 21-Apr-09 22:35
_AnsHUMAN_ 21-Apr-09 22:35 
AnswerRe: How to get cin cout in MFC dialog based application Pin
QuickDeveloper21-Apr-09 22:44
QuickDeveloper21-Apr-09 22:44 
hi
If u are using MFC...you can do the following

Cin:
1)Put some controls in dialogbox like textbox etc.
2)Bind variables to that controls
3)When somebody types into that text control ,you can get the values into the variables using unctions like UpdateWindow etc

Cout:
1)You can put a static control on dialog and display message(use SetWindowText API)
2)Use a Simple MessageBox
3)Draw Text on the dialog (not needed here)

some links:
http://www.flounder.com/getdlgitem.htm[^]

http://msdn.microsoft.com/en-us/library/86kdbbs8.aspx[^]

Hope that helps

"Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"


AnswerRe: How to get cin cout in MFC dialog based application Pin
David Crow22-Apr-09 5:40
David Crow22-Apr-09 5:40 
QuestionSize of datatype dependent on OS or Hardware Architecture? Pin
QuickDeveloper21-Apr-09 22:13
QuickDeveloper21-Apr-09 22:13 
AnswerRe: Size of datatype dependent on OS or Hardware Architecture? Pin
Divyang Mithaiwala21-Apr-09 22:22
Divyang Mithaiwala21-Apr-09 22:22 
AnswerRe: Size of datatype dependent on OS or Hardware Architecture? Pin
Iain Clarke, Warrior Programmer21-Apr-09 22:23
Iain Clarke, Warrior Programmer21-Apr-09 22:23 
AnswerRe: Size of datatype dependent on OS or Hardware Architecture? Pin
Stuart Dootson21-Apr-09 22:45
professionalStuart Dootson21-Apr-09 22:45 
QuestionGetting information machine in lan by vc++ Pin
ashish8patil21-Apr-09 21:47
ashish8patil21-Apr-09 21:47 
AnswerRe: Getting information machine in lan by vc++ Pin
Iain Clarke, Warrior Programmer21-Apr-09 22:30
Iain Clarke, Warrior Programmer21-Apr-09 22:30 
GeneralRe: Getting information machine in lan by vc++ Pin
ashish8patil21-Apr-09 23:27
ashish8patil21-Apr-09 23:27 
QuestionRe: Getting information machine in lan by vc++ Pin
David Crow22-Apr-09 5:43
David Crow22-Apr-09 5:43 
AnswerRe: Getting information machine in lan by vc++ Pin
ashish8patil22-Apr-09 22:30
ashish8patil22-Apr-09 22:30 
GeneralRe: Getting information machine in lan by vc++ Pin
David Crow23-Apr-09 2:44
David Crow23-Apr-09 2:44 
GeneralRe: Getting information machine in lan by vc++ Pin
ashish8patil24-Apr-09 0:23
ashish8patil24-Apr-09 0:23 
QuestionRe: Getting information machine in lan by vc++ Pin
David Crow24-Apr-09 3:53
David Crow24-Apr-09 3:53 
AnswerRe: Getting information machine in lan by vc++ Pin
ashish8patil25-Apr-09 3:25
ashish8patil25-Apr-09 3:25 
QuestionRe: Getting information machine in lan by vc++ Pin
David Crow25-Apr-09 16:44
David Crow25-Apr-09 16:44 
AnswerRe: Getting information machine in lan by vc++ Pin
ashish8patil26-Apr-09 18:59
ashish8patil26-Apr-09 18:59 
Questioncretate a value under Registry key... Pin
p_196021-Apr-09 21:04
p_196021-Apr-09 21:04 

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.