Vcl.Controls.TCMDrag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

 TCMDrag = record
 Msg: Cardinal;
 MsgFiller: TDWordFiller;
 DragMessage: TDragMessage;
 Unused1: Byte;
 Unused2: TWordFiller;
 DragRec: PDragRec;
 Result: LRESULT;
 end;

C++

struct DECLSPEC_DRECORD TCMDrag
{
public:
 unsigned Msg;
#ifndef _WIN64
#else /* _WIN64 */
 Winapi::Messages::TDWordFiller MsgFiller;
#endif /* _WIN64 */
 TDragMessage DragMessage;
 System::Byte Unused1;
 Winapi::Messages::TWordFiller Unused2;
 TDragRec *DragRec;
 NativeInt Result;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

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.


See Also

Retrieved from "https://docwiki.embarcadero.com/Libraries/Tokyo/e/index.php?title=Vcl.Controls.TCMDrag&oldid=199549"