me again. thanks for all the help from you guys btw, I am learning loads
my current little task is to program a dialog that calls CFileDialog.
essentially I have a dialog in which I am taking in a number of settings from the user in order to batch process files. Two of those settings are a "data storage directory" (1) and a "data save directory" (2), where the files are read from (1) processed, and a processed version of the data stored in (2) . Essentially this means that I need to get 2 file paths and store them in separate strings. Now I could do this from the menu or some other way if I have to, but I would prefer my one settings dialog to be able to get both strings. I have a couple of edit boxes in which one can enter the path manually, and next to these I have plopped a couple of buttons. My aim is that, on a button press, a file dialog opens gets the path, and then puts it in the edit box.
The problem is that my dialog inherits from CDialog, and so it won't let me compile when I try to construct a CFileDialog in the dialog class. is there any way round this? Do I have to make my whole dialog inherit from CFileDialog?
thanks