C++
void SetInitialFileName( LPCTSTR name );
Description
Sets the initial file name. This function is used to initialize the file name combo box.
If the initial file name is set without an extension, the default file name extension, if set, is appended. If there is no default file name extension, the first extension in the current file filter is used. If the initial folder is found in persistent data, this call has no effect.
Parameters
Parameters | Description |
---|---|
name | File name used to initialize the file combobox in the dialog, which can be a URL or a drive-based or UNC path name (typically a basename with an extension) |