Vcl.Controls.TCMCancelMode
Delphi
TCMCancelMode = record
Msg: Cardinal;
MsgFiller: TDWordFiller;
Unused: WPARAM;
Sender: TControl;
Result: LRESULT;
end;
C++
struct DECLSPEC_DRECORD TCMCancelMode
{
public:
unsigned Msg;
#ifndef _WIN64
#else /* _WIN64 */
Winapi::Messages::TDWordFiller MsgFiller;
#endif /* _WIN64 */
NativeUInt Unused;
TControl* Sender;
NativeInt Result;
};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
record struct |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
Represents the cancel state for a VCL control.
An object of type TCMCancelMode is used with a CM_CANCELMODE message.
The following table lists the fields contained by TCMCancelMode:
| Field | Meaning |
|---|---|
|
Msg |
Represents the Windows message code. |
|
Unused |
Unused. |
|
Sender |
Specifies the control that sends the message. |
|
Result |
Holds the value returned by the application processing the message. |
The TCMCancelMode type is used internally.