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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

to collect data

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i must make a mdi application. this application is on CEditView based.
when i write somethings in the window of my application, i don't know how can i collect the data in my code.

thanks
 
get the pointer of your CEditView class, say myEditView :

CString aBuf;
CEdit& aEdit = myEditView->GetEditCtrl();
aEdit.GetWindowText(aBuf);

now aBuf is filled with what you typed in the edit view.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top