#include <c4d_baselist.h>
详细描述
Message struct for the
MSG_TOOL_ASK
message.
Sent to tools on mouse input to query them on whether they accept/use certain input such as modifier keys, right or middle mouse button. This allows them to override the normal
Cinema 4D
functionality.
构造函数 & 析构函数文档编制
◆
ToolAskMsgData()
Default constructor.
Member Data Documentation
◆
version
[Read-Only]
The version number of this structure.
◆
bw
[Read-Only]
The editor window.
◆
doc
[Read-Only]
The document.
[Read-Only]
X position of the mouse.
[Read-Only]
Y position of the mouse.
◆
button
[Read-Only]
The pressed mouse buttons:
KEY
◆
msg
[Read-Only]
The message container.
◆
bd
[Read-Only]
The base draw.
◆
popup_exit
Set to
true
if you already did everything and canceling mouse input in the core.
◆
popup_allowed
Set to
false
to prevent core from opening a popup.
◆
popup_menuid
Set to any menu ID to use the standard popup. e.g.
M_MODELING_POLYGON
.
◆
use_middlemouse
Set to
true
to use the middle mouse button to do something in
ToolData::MouseInput()
.
◆
use_rightmouse
Set to
true
to use the right mouse button to do something in
ToolData::MouseInput()
.
◆
resize_allowed
Set to
true
to accept sizing messages for brushes.
◆
use_singleclick
Set to
true
to allow single clicks to select components/objects.