STK UI ApplicationSend comments on this topic.
FileOpenDialog Method (IAgUiApplication)
See Also
DefaultExt
Filter
InitialDir
Windows





Windows & Linux

Description

Brings up a common File Open dialog and returns the file name selected by the user. If the user canceled, returns an empty file name.

Syntax

[Visual Basic .NET]
Public Function FileOpenDialog( _
    ByVal DefaultExt As String, _
    ByVal Filter As String, _
    ByVal InitialDir As String _
) As String
[C#]
public string FileOpenDialog(
    string DefaultExt,
    string Filter,
    string InitialDir
);
[Managed C++]
public: String __gc ^ FileOpenDialog(
    String __gc ^ DefaultExt,
    String __gc ^ Filter,
    String __gc ^ InitialDir
);
[Unmanaged C++]
public: HRESULT FileOpenDialog(
    BSTR DefaultExt,
    BSTR Filter,
    BSTR InitialDir,
    BSTR * pFileName
);
[Java]
public String fileOpenDialog(
    String DefaultExt,
    String Filter,
    String InitialDir
);

Parameters

DefaultExt
Filter
InitialDir

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.