Vcl.Controls.TCMHitTest
Delphi
TCMHitTest = TWMNCHitTest;
C++
typedef Winapi::Messages::TWMNCHitTest TCMHitTest;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TCMHitTest is a record used by the CM_HITTEST message.
TCMHitTest is an alias for the TWMNCHitTest type, used for capturing mouse events (cursor movement, mouse button pressing). TCMHitTest is used by the CM_HITTEST message.
The following table lists the fields of TCMHitTest:
Field | Meaning |
---|---|
Msg |
Represents the Windows message code. |
Unused |
Unused. |
Variant record |
You can either use XPos and YPos to specify the coordinates of the cursor, or Pos to specify the position and Result to specify the value returned by the application processing the message. |