Skip to main content
A newer version of this page is available. .

TdxAlertWindowHitTest.HitMessageImage Property

Returns the ViewInfo information associated with the inspected point if it corresponds to an alert window‘s message image.

Declaration

property HitMessageImage: TdxAlertWindowImageViewInfo read;

Property Value

Type
TdxAlertWindowImageViewInfo

Remarks

This property returns a TdxAlertWindowImageViewInfo class instance if the HitAtMessageImage property returns True for the inspected point; otherwise, nil.

The table below lists the main TdxAlertWindowImageViewInfo properties that are useful for custom painting.

Property Description
Bounds The bounding rectangle of the image.
Painter The painter class that is used to paint the image.
IsImageAssigned Indicates if a message is associated with an image.
ImageIndex Determines the associated image.

Note

Since methods of ViewInfo classes support the internal infrastructure and are not intended for use in your code, we recommend that you use only ViewInfo class properties.

See Also