ImageFileDropType Class Reference
 
 
 
ImageFileDropType Class Reference

#include <idraganddrop.h>

Inheritance diagram for ImageFileDropType:
FileDropType DropType MaxHeapOperators

Class Description

See also:
Class FileDropType, DropTypes.

Description:
This class represents the image file (*.bmp, *.tga, etc.) DropType and is available through the built-in type instance imageFileDropType.

Public Member Functions

int  TypeCode ()
CoreExport bool  CheckDropType (const MCHAR *filename)

Member Function Documentation

int TypeCode ( ) [inline, virtual]
Remarks:
This method returns the typecode of the DropType.
Default Implementation:
{ return IMAGEFILE_DROPTYPE; }

Reimplemented from FileDropType.

{ return IMAGEFILE_DROPTYPE; }
CoreExport bool CheckDropType ( const MCHAR *  filename ) [virtual]
Remarks:
This method checks if the file type associated with the DropType is recognized.
Parameters:
MCHAR* filename

The filename suffix.
Returns:
TRUE if the filename suffix checks out, otherwise FALSE.

Reimplemented from FileDropType.