Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in displaying answer in dialog box

Status
Not open for further replies.

kan13

Technical User
Mar 4, 2003
6
MU
Hello
I've written a source code in visual C++, and i dont know how to output my answer in an edit box in a dialog box. normally the dialog box should appear when i click on menu. also i wanted to know how to replace "cout" and "cin" so that i can display my outputs in a dialog box. please help me.
thanx
 
Try this :

MyDlgClass MyDlg;
MyDlg.EditVar = SomeVariable; // EditVar is the
controlvariable of the
Editcontrol
MyDlg.DoModal();
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top