Document/View -- where to keep the data in FTP app
Posted on 2000-01-10
Another basic question about MFC. In my application, I allow users to connect to an FTP site, display a list of files available, then have them either transfer or edit these files.
To establish the FTP connection, I just have a simple dialog where users can enter such things as username, password, sitename, port, etc. My questoin is: To keep with the doc/view model, where should I handle displaying the dialog? In the document? Where should I store the information the user enters? Again, should this go in the document?
I have 2 views in a split window: 1 for files, 1 for editing text. I have also created a class for storing the FTP info described above