Vcl.Controls.TCMControlListChanging
From RAD Studio API Documentation
Delphi
TCMControlListChanging = record Msg: Cardinal; MsgFiller: TDWordFiller; ControlListItem: PControlListItem; Inserting: LongBool; InsertingFiller: TDWordFiller; Result: LRESULT; end;
C++
struct DECLSPEC_DRECORD TCMControlListChanging { public: unsigned Msg; #ifndef _WIN64 #else /* _WIN64 */ Winapi::Messages::TDWordFiller MsgFiller; #endif /* _WIN64 */ TControlListItem *ControlListItem; System::LongBool Inserting; #ifndef _WIN64 #else /* _WIN64 */ Winapi::Messages::TDWordFiller InsertingFiller; #endif /* _WIN64 */ NativeInt Result; };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
record struct |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TCMControlListChanging is sent to a list control before an item in the list is changed.
An object of type TCMControlListChanging is used with a CM_CONTROLLISTCHANGING message and is sent to a list control before an item in the list is changed. The following table lists the fields contained by TCMControlListChanging:
| Field | Meaning |
|---|---|
|
Msg |
Represents the Windows message code. |
|
ControlListItem |
Is a pointer to a structure that describes the modified list item. |
|
Inserting |
Specifies whether the specified control is being inserted to the parent or is being changed. |
|
Result |
Holds the value returned by the application processing the message. |
The TCMControlListChanging type is used internally.