fl (ULONG)

      FDS_* flags.

      Several flags can be specified to alter the behavior of the dialog.

      Note: The dialog must be either an "Open" or a "Save As" dialog. If neither the FDS_OPEN_DIALOG nor the FDS_SAVEAS_DIALOG flag is set, or if both are set, the dialog will return an error.

      FDS_APPLYBUTTON

        An Apply push button is added to the dialog. This is useful in a modeless dialog.
      FDS_CENTER
        The dialog is positioned in the center of its parent window, overriding any specified x, y position.
      FDS_CUSTOM
        A custom dialog template is used to create the dialog. The hMod and usDlgID fields must be initialized.
      FDS_ENABLEFILELB
        When this flag is set, the Files list box on a Save As dialog is enabled. When this flag is not set, the Files list box is not enabled for a Save As dialog. This is the default.
      FDS_FILTERUNION
        When this flag is set, the dialog uses the union of the string filter and the extended-attribute type filter when filtering files for the Files list box. When this flag is not set, the list box, by default, uses the intersection of the two.
      FDS_HELPBUTTON
        A Help push button of style (BS_HELP|BS_NOPOINTERFOCUS) with an ID of DID_HELP_PB is added to the dialog. When this push button is pressed, a WM_HELP message is sent to
      FDS_INCLUDE_EAS
        If this flag is set, the dialog will always query extended attribute information for files as it fills the Files list box. The default is to not query the information unless an extended attribute type filter has been selected.
      FDS_MODELESS
        When this flag is set, the dialog is modeless; WinFileDlg returns immediately after creating the dialog window and returns the window handle to the application. The application should treat the dialog as if it were created with WinLoadDlg. As in the modal (default) dialog case, the return value is found in the lReturn field of the FILEDLG structure passed to WinFileDlg.
      FDS_MULTIPLESEL
        When this flag is set, the Files list box for the dialog is a multiple selection list box. When this flag is not set, the default is a single-selection list box.
      FDS_OPEN_DIALOG
        The dialog is an "Open" dialog when this flag is set.
      FDS_PRELOAD_VOLINFO
        If this flag is set, the dialog will preload the volume information for the drives and will preset the current default directory for each drive. The default behavior is for the volume label to be blank and the initial directory will be the root directory for each drive.
      FDS_SAVEAS_DIALOG
        The dialog is a "Save As" dialog when this flag is set.


      [Back] [Next]