Open Search
    ToolSwitchActionMsgData Struct Reference

    #include <c4d_baselist.h>

    Detailed Description

    Message struct for the MSG_TOOL_SWITCHACTION message.
    Sent to tools on mouse input to query them on whether they should change to a different tool temporarily while a certain situation (e.g. modifier key) is being held.

    Note
    The tool must have the PLUGINFLAG_TOOL_SWITCHACTION flag for MSG_TOOL_SWITCHACTION message to be invoked.
    Since
    R17.032

    Public Member Functions

     ToolSwitchActionMsgData ()
     

    Input Values

    EditorWindowbw
     
    BaseDocumentdoc
     
    BaseDrawbd
     
    QUALIFIER qualifier
     

    Result Values

    Int32 action
     

    Constructor & Destructor Documentation

    ◆ ToolSwitchActionMsgData()

    Default constructor.

    Member Data Documentation

    ◆ bw

    [Read-Only]
    The editor window.

    ◆ doc

    [Read-Only]
    The document.

    ◆ bd

    BaseDraw* bd

    [Read-Only]
    The base draw.

    ◆ qualifier

    QUALIFIER qualifier

    [Read-Only]
    The current qualifier.

    ◆ action

    Int32 action

    Assign the ID of an action to switch to temporarily, or leave as NOTOK to ignore.