#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. 
| Public Member Functions | |
| ToolAskMsgData () | |
| Input Values | |
| Int32 | version | 
| EditorWindow * | bw | 
| BaseDocument * | doc | 
| Int32 | x | 
| Int32 | y | 
| Int32 | button | 
| const BaseContainer * | msg | 
| BaseDraw * | bd | 
| Result Values | |
| Bool | popup_exit | 
| Bool | popup_allowed | 
| Int32 | popup_menuid | 
| Bool | use_middlemouse | 
| Bool | use_rightmouse | 
| Bool | resize_allowed | 
| Bool | use_singleclick | 
| ToolAskMsgData | ( | ) | 
Default constructor.
| Int32 version | 
[Read-Only]
 The version number of this structure. 
| EditorWindow* bw | 
[Read-Only]
 The editor window. 
| BaseDocument* doc | 
[Read-Only]
 The document. 
| Int32 x | 
[Read-Only]
 X position of the mouse. 
| Int32 y | 
[Read-Only]
 Y position of the mouse. 
| const BaseContainer* msg | 
[Read-Only]
 The message container. 
| BaseDraw* bd | 
[Read-Only]
 The base draw. 
| Bool popup_exit | 
Set to true if you already did everything and canceling mouse input in the core.
| Bool popup_allowed | 
Set to false to prevent core from opening a popup.
| Int32 popup_menuid | 
Set to any menu ID to use the standard popup. e.g. M_MODELING_POLYGON.
| Bool use_middlemouse | 
Set to true to use the middle mouse button to do something in ToolData::MouseInput().
| Bool use_rightmouse | 
Set to true to use the right mouse button to do something in ToolData::MouseInput().
| Bool resize_allowed | 
Set to true to accept sizing messages for brushes.
| Bool use_singleclick | 
Set to true to allow single clicks to select components/objects.