3ds Max C++ API Reference
Loading...
Searching...
No Matches
Mouse Drag Modes

Macros

#define CLICK_MODE_DEFAULT   0
 Returned by CreateMouseCallBack to indicate use of system mouse mode.
 
#define CLICK_DRAG_CLICK   1
 The default behaviour as described in override()
 
#define CLICK_MOVE_CLICK   2
 In this mode, the first point is entered by clicking the mouse button down and then letting it up.
 
#define CLICK_DOWN_POINT   3
 In this mode, point messages are sent on mouse-down only.
 
#define CLICK_TWO_POINTS   4
 In this mode, each mouse click sends 2 MOUSE_POINT messages.
 

Detailed Description

Macro Definition Documentation

◆ CLICK_MODE_DEFAULT

#define CLICK_MODE_DEFAULT   0

Returned by CreateMouseCallBack to indicate use of system mouse mode.

◆ CLICK_DRAG_CLICK

#define CLICK_DRAG_CLICK   1

The default behaviour as described in override()

◆ CLICK_MOVE_CLICK

#define CLICK_MOVE_CLICK   2

In this mode, the first point is entered by clicking the mouse button down and then letting it up.

This generates point 0. In other words, a MOUSE_POINT message is only generated after the user has pressed and released the mouse button.

◆ CLICK_DOWN_POINT

#define CLICK_DOWN_POINT   3

In this mode, point messages are sent on mouse-down only.

◆ CLICK_TWO_POINTS

#define CLICK_TWO_POINTS   4

In this mode, each mouse click sends 2 MOUSE_POINT messages.

One for button down, the other for button up.