Toggle the navigation pane
Add to Favorites
Home: Autodesk 3ds Max SDK Documentation
Share
Translate this page
Powered by
Microsoft® Translator
MAXFileOpenDialog Class Reference
Main Page
Public Member Functions
MAXFileOpenDialog Class Reference
Search for all occurrences
#include <maxapi.h>
Inheritance diagram for MAXFileOpenDialog:
Class Description
See also:
Class
Interface
.
Description:
This class allows a custom file open dialog to be used. This object is set using the method
Interface::SetMAXFileOpenDlg()
.
Public Member Functions
virtual
~MAXFileOpenDialog
()
virtual BOOL
BrowseMAXFileOpen
(
MSTR
&fileName,
MSTR
*defDir,
MSTR
*defFile)=0
Constructor & Destructor Documentation
virtual ~
MAXFileOpenDialog
(
)
[inline, virtual]
Remarks:
Destructor.
{}
Member Function Documentation
virtual BOOL BrowseMAXFileOpen
(
MSTR
&
fileName
,
MSTR
*
defDir
,
MSTR
*
defFile
)
[pure virtual]
Search for all occurrences
Remarks:
This method is called to bring up the custom file open dialog. It request a file name from the user and stores the result in
fileName
.
Parameters:
MSTR& fileName
Set this to the file name choosen by the user.
MSTR* defDir
The default directory to look in.
MSTR* defFile
The default file name to use.
Returns:
TRUE if the user OKed the dialog; FALSE on cancel.