Controls.TCMDrag
From RAD Studio VCL Reference
Contents |
Delphi Information
From Controls.pas
TCMDrag = packed Msg: Cardinal; DragMessage: TDragMessage; Reserved1: Byte; Reserved2: Word; DragRec: PDragRec; Result: Integer; end;
Unit: Controls
Type: struct
C++ Information
From Controls.hpp
TCMDrag = class
Unit: Controls
Type: class
Class Fields: Controls.TCMDrag Fields
Description
TCMDrag is used with a CM_DRAG message.
An object of type TCMDrag is used with a CM_DRAG message. The following table lists the fields contained by TCMDrag:
| Field | Meaning |
|---|---|
|
Msg |
Represents the Windows message code. |
|
DragMessage |
Indicates the type of drag operation executed by the control. |
|
Reserved1 |
Unused. |
|
Reserved2 |
Unused. |
|
DragRec |
Is a pointer to a structure that contains information about the dragged object. |
|
Result |
Holds the value returned by the application processing the message. |
The TCMDrag type is used internally.