c++,visual-studio,visual-c++,mfc,cfiledialog
From MSDN (emphasis mine): To make room for the new controls, the system expands the default dialog box by the width and height of the custom dialog box. By default, all controls from the custom dialog box are positioned below the controls in the default dialog box. However, you can...
c++,visual-studio-2013,cfiledialog
The standard portable way to do it would be: long long sz; // int would be to small for many files ! ifstream ifs(test); if(!ifs) return 0; // when file couldn't be opened ifs.seekg(0, ios::end); sz = ifs.tellg(); return sz; The native windows approach would be to use GetFileSize(). But...
The file save dialog is called "file save dialog" because its caption says "Save File" and it allows you to only select a single file. That does not mean that it actually does any saving of files. It just returns to you the filename selected by the user. You are...