Class BitmapNotify

3DS Max Plug-In SDK

Class BitmapNotify

See Also: Class Bitmap, Class BitmapStorage.

class BitmapNotify

Description:

This class is available in release 2.0 and later only.

This class is a callback for notifying bitmaps that their storage has changed, and if any on screen displays need to be refreshed. This is installed as a callback via the method Bitmap::SetNotify().

All methods of this class are implemented by the system.

Methods:

Prototype:

virtual int Changed(ULONG flags)=0;

Remarks:

This method is called when the storage for the Bitmap has changed.

Parameters:

ULONG flags

One of the following:

BMNOTIFY_FLAG_STORAGE_CHANGE, notifies that the storage (the contents of the bitmap) has changed.

BMNOTIFY_FLAG_FILE_CHANGE, notifies that that bitmap file has changed, probably by an external program. The bitmap should be reloaded. Note that by the time this call is made, the API has already checked to see if the user has set the global preferences asking for these changes to be automatically reloaded.

Prototype:

virtual void VFBClosed();

Remarks:

This method is called when Virtual Frame Buffer is closed.

Default Implementation:

{}