List of Mouse Callback Messages

3DS Max Plug-In SDK

List of Mouse Callback Messages

This message describes the type of event that occurred.

MOUSE_ABORT

When the user aborts a mouse procedure, for example when they are dragging the mouse and they right click, this message is sent.

MOUSE_IDLE

This message is used internally.

MOUSE_POINT

This message is sent when the user has clicked a point.

MOUSE_MOVE

This message is sent when the mouse input is captured and the user moved the mouse. When mouse input is captured all mouse events continue to go to the current window even when the mouse is move outside the limits of the window. This is when the user is 'dragging'.

MOUSE_DBLCLICK

This is sent when the user has double clicked the mouse.

MOUSE_INIT

This is sent when the mouse proc is plugged in as the current mouse proc. If a plug-in needed to perform some kind of initialization when it was first became current this message could be processed.

MOUSE_UNINIT

This is sent when the mouse proc is un-plugged as the current mouse proc.

MOUSE_FREEMOVE

This message is similar to a MOUSE_MOVE message except it is not called when the mouse is in a 'drag' session. This means that mouse input is not captured. If mouse input is not captured and the mouse is moved outside the current window, the current window will no longer receive the mouse messages.

MOUSE_KEYBOARD

This is not used. Keyboard input is processed by registering an accelerator table. See Class Interface for the methods to register a keyboard accelerator. Also see the section Keyboard Accelerators and Dialog Messages.

MOUSE_PROPCLICK

This message is sent on a right click, when nothing is selected, and the user is not over any selectable object. For example, this is how the unfreeze-by-hit pick mode knows to abort if the user presses the right mouse button. Note that this is different than if you right click while dragging - in that case you get a MOUSE_ABORT message.