3ds Max C++ API Reference
|
Macros | |
#define | MOUSE_ABORT 0 |
Sent when the user aborts a mouse procedure. | |
#define | MOUSE_IDLE 0 |
#define | MOUSE_POINT 1 |
Sent when the user has clicked a point. | |
#define | MOUSE_MOVE 2 |
Sent when the mouse input is captured and the user moved the mouse. | |
#define | MOUSE_DBLCLICK 3 |
sent when the user has double clicked the mouse. | |
#define | MOUSE_INIT 4 |
Sent when the mouse proc is plugged in as the current mouse proc. | |
#define | MOUSE_UNINIT 5 |
sent when the mouse proc is un-plugged as the current mouse proc. | |
#define | MOUSE_FREEMOVE 6 |
Similar to a MOUSE_MOVE message except it is not called when the mouse is in a 'drag' session. | |
#define | MOUSE_KEYBOARD 7 |
Keyboard input is processed by registering an accelerator table. | |
#define | MOUSE_PROPCLICK 8 |
Sent on a right click, when nothing is selected, and the user is not over any selectable object. | |
#define | MOUSE_SNAPCLICK 9 |
#define MOUSE_ABORT 0 |
Sent when the user aborts a mouse procedure.
An examle is when the user is dragging the mouse and he right clicks.
#define MOUSE_IDLE 0 |
This message is used internally.
#define MOUSE_POINT 1 |
Sent when the user has clicked a point.
#define MOUSE_MOVE 2 |
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'.
#define MOUSE_DBLCLICK 3 |
sent when the user has double clicked the mouse.
#define MOUSE_INIT 4 |
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.
#define MOUSE_UNINIT 5 |
sent when the mouse proc is un-plugged as the current mouse proc.
#define MOUSE_FREEMOVE 6 |
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.
#define MOUSE_KEYBOARD 7 |
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.
#define MOUSE_PROPCLICK 8 |
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.
#define MOUSE_SNAPCLICK 9 |