Export (0) Print
Expand All

IFileSaveDialog::SetOptions method

Sets flags to control the behavior of the dialog.

Syntax


HRESULT SetOptions(
  [in]  FILEOPENDIALOGOPTIONS fos
);

Parameters

fos [in]

Type: FILEOPENDIALOGOPTIONS

One or more of the FILEOPENDIALOGOPTIONS values.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

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.

Requirements

Minimum supported client

Windows Vista, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft