Class ScriptFileDropType

3DS Max Plug-In SDK

Class ScriptFileDropType

Class ScriptFileDropType

See Also: Class FileDropType, List of DropTypes

class ScriptFileDropType : public FileDropType

Description:

This class is available in release 4.0 and later only.

This class represents the script file (*.ms, *.mse, *.mcr) DropType and is available through the built-in type instance scriptFileDropType.

Methods:

public:

Prototype:

virtual int TypeCode()=0;

Remarks:

This method returns the typecode of the DropType.

Default Implementation:

{ return SCRIPTFILE_DROPTYPE; }

Prototype:

virtual bool CheckDropType(TCHAR* filename);

Remarks:

This method checks if the file type associated with the DropType is recognized.

Parameters:

TCHAR* filename

The filename suffix.

Return Value:

TRUE if the filename suffix checks out, otherwise FALSE.