Vcl.Controls.TCMControlChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TCMControlChange = record
    Msg: Cardinal;
    MsgFiller: TDWordFiller;
    Control: TControl;
    Inserting: LongBool;
    InsertingFiller: TDWordFiller;
    Result: LRESULT;
  end;

C++

struct DECLSPEC_DRECORD TCMControlChange
{
public:
    unsigned Msg;
#ifndef _WIN64
#else /* _WIN64 */
    Winapi::Messages::TDWordFiller MsgFiller;
#endif /* _WIN64 */
    TControl* Control;
    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

Represents a VCL control change notification.

An object of the TCMControlChange type is used with a CM_CONTROLCHANGE message and is sent to the parent control when a child control is being changed. The following table lists the fields contained by TCMControlChange:


Field Meaning

Msg

Represents the Windows message code.

Control

Specifies the control that is being changed.

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.


See Also