Class MAXFileOpenDialog

3DS Max Plug-In SDK

Class MAXFileOpenDialog

See Also: Class Interface.

class MAXFileOpenDialog

Description:

This class is available in release 3.0 and later only.

This class allows a custom file open dialog to be used. This object is set using the method Interface::SetMAXFileOpenDlg().

Methods:

public:

Prototype:

virtual BOOL BrowseMAXFileOpen(TSTR& fileName, TSTR* defDir, TSTR* defFile)=0;

Remarks:

Implemented by the Plug-In.

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:

TSTR& fileName

Set this to the file name choosen by the user.

TSTR* defDir

The default directory to look in.

TSTR* defFile

The default file name to use.

Return Value:

TRUE if the user OKed the dialog; FALSE on cancel.