IFileDialog::SetOptions method (shobjidl_core.h)
Sets flags to control the behavior of the dialog.
HRESULT SetOptions( FILEOPENDIALOGOPTIONS fos );
One or more of the FILEOPENDIALOGOPTIONS values.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Generally, this method should take the value that was retrieved by IFileDialog::GetOptions and modify it to include or exclude options by setting the appropriate flags.
|Minimum supported client||Windows Vista, Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|