Well, I have to admit that I'm a little foggy on what exactly you are asking for, but you should be able to create a simple dialog box to accomplish what you need.
-Create a dialog with a edit box in resources
-Use classwizard to derive a class for the dialog
-Use classwizard to attach a CString object to the edit box
-Call the dialog box with MyDlgBox.DoModal();
-Get the input by accessing the class member MyDlgBox.MyString
Example code:
CGetInputDlg MyDlgBox;
CString sUserInput;
MyDlgBox.DoModal();
sUserInput = MyDlgBox.MyString;
There might be a more elegant way of doing it though. I'm still fairly new to the UI portion of VC++