Sent by the plug-in to notify host of current progress. More...
Defines |
|
#define | FLT_PROGRESS WM_USER + 0x20 |
wParam: Current lParam: Total |
|
#define | FLT_CHECKABORT WM_USER + 0x21 |
Sent by the plug-in to check for process
interruption. |
|
#define | FLT_TEXTMSG WM_USER + 0x22 |
Sent by the plug-in to display an optional
textual message (for progress report). |
|
#define | FLT_TIMECHANGED WM_USER + 0x23 |
Sent by the host TO the plug-in to notify
the time has changed (the user moved the time slider in Max).
|
|
#define | FLT_UNDO WM_USER + 0x24 |
Sent by 3ds Max TO the plug-in to notify
that an Undo operation has been done. |
Sent by the plug-in to notify host of current progress.
The host should return TRUE if it's ok to continue or FALSE to abort process. Messages can be sent using SendMessage() as follows:
LRESULT SendMessage( HWND hwnd, // handle of destination window UINT uMsg, // message to send WPARAM wParam, // first message parameter LPARAM lParam // second message parameter );
/sa Class ImageFilter.
#define FLT_PROGRESS WM_USER + 0x20 |
wParam: Current lParam: Total
#define FLT_CHECKABORT WM_USER + 0x21 |
Sent by the plug-in to check for process interruption.
The host should return FALSE (by setting *lParam)if it's ok to continue or TRUE to abort process. wParam: 0 lParam: BOOL*
#define FLT_TEXTMSG WM_USER + 0x22 |
Sent by the plug-in to display an optional textual message (for progress report).
BOOL ImageFilter_Negative::Control(HWND hWnd,UINT message,WPARAM wParam,LPARAM lParam) { switch (message) { case FLT_UNDO: undo = true; break; case FLT_TIMECHANGED: // . . .
wParam: 0 lParam: LPCMSTR
#define FLT_TIMECHANGED WM_USER + 0x23 |
Sent by the host TO the plug-in to notify the time has changed (the user moved the time slider in Max).
wParam: 0 lParam: TimeValue t
#define FLT_UNDO WM_USER + 0x24 |
Sent by 3ds Max TO the plug-in to notify that an Undo operation has been done.
The plugin will set some boolean internally and wait for the next WM_PAINT message to update any spinners or other values that may have been undone. The filter manager sends this message (if you register for the notification with RegisterTVNodeNotify()) and an undo operation was performed. wParam: 0 lParam: 0