Graphisoft®

Dialog ManagerVersion: 2.0

FileDialog::AddFilter

Adds a new item to the end of the filter selection popup.

UIndex AddFilter (
    FTM::GeneralID      id,
    ExtensionOptions    options = SystemDefault
);

Parameters

id
A file type manager id.
options
Option for diplaying description.

Return Value

Zero based index of the position of the new item. Can be used as an index for other filter handling functions.

Description

If a GroupID is passed only one item is created, but it will include all extensions and mac types of the types under this group.