Detailed Description
class ViewFile
- Description:
- This class allows a developer to replace the file viewer used
by 3ds Max (This is the "View File" option in 3ds Max's File menu).
By creating a DLL from this class, and replacing the standard 3ds
Max ViewFile. DLL the system will always use the
developer defined version. Note: To execute this plug-in, put the
DLL in the same directory as the 3DSMAX.EXE executable.
The following two functions are called by the system to create and
delete the instance of this class that handles the file
viewing.
void *ViewFileCreate();
This function is implemented by the plug-in to create a new
instance of this class. For example:
void *ViewFileCreate()
{
return new ViewFile;
}
void ViewFileDestroy(ViewFile *v);
This function is implemented by the plug-in to delete the instance
of this class created above. For example:
void ViewFileDestroy(ViewFile *v)
{
if (v)
delete v;
}
#include <viewfile.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
VWFEXPORT void View |
( |
HWND |
hWnd |
) |
|
- Parameters:
- HWND hWnd
The parent window handle.
- See also:
- /MAXSDK/SAMPLES/VIEWFILE/VIEWFILE.CPP for an example of
the standard 3ds Max file viewer.
ViewFile ViewFile ViewFile ViewFile
ViewFile ViewFile ViewFile ViewFile ViewFile ViewFile
ViewFile ViewFile ViewFile ViewFile
ViewFile ViewFile ViewFile ViewFile ViewFile ViewFile