#include <c4d_baselist.h>
Message struct for the MSG_DRAGANDDROP message.
公共成员函数 |
|
DragAndDrop () |
Public Attributes |
|
BaseDocument * | doc |
C4DAtom * | sender |
UInt32 | flags |
Int32 | type |
void * | data |
Int32 | x |
Int32 | y |
const BaseContainer * | msg |
Int32 | result |
DragAndDrop | ( | ) |
Default constructor.
BaseDocument * doc |
The current document. Cinema 4D owns the pointed document.
C4DAtom * sender |
This is where the drag comes from. A scene hook for instance would get the pointer to the BaseDraw that had the item dragged into it.
UInt32 flags |
Flags: DRAGANDDROP_FLAG
Int32 type |
The drag type: DRAGTYPE .
void* data |
The pointer to the dragged elements. Depends on the drag type .
Int32 x |
The X position where the dragged object was released.
Int32 y |
The Y position where the dragged object was released.
const BaseContainer * msg |
This container becomes valid if DRAGANDDROP_FLAG_MSGVALID is set so items like BFM_INPUT_QUALIFIER are available.
Int32 result |
Currently unused.