[Win32gui-code] file_dlg suggestion
Status: Beta
Brought to you by:
jtorjo
|
From: Dmitry P. <dm...@pa...> - 2005-11-28 11:28:06
|
Hi,
To complete the file_dlg functionality I suggest to add the following procedure to this class:
void file_dlg::initial_file(const defs::string& str) {
std::fill(files_.begin(), files_.end(), 0);
std::copy(str.begin(), str.end(), files_.begin());
}
It will allow to specify the file name which will be displayed initially upon the file_dlg startup.
The call to std::fill procedure inside the file_dlg::show method should be removed then.
Regards,
Dmitry
|