Search
FlowChart.HitTestPriority Property
See Also
 



Gets or sets a value indicating in what order the diagram items are hit-tested.

 Syntax

VB6  Copy Code

Public Property Get HitTestPriority() As EHitTestPriority
Public Property Let HitTestPriority( _
    ByVal Value As EHitTestPriority _
)

C++  Copy Code

public:
EHitTestPriority get_HitTestPriority ()
void put_HitTestPriority (
    EHitTestPriority value
)

 Property Value

A member of the EHitTestPriority enumeration. The default is htpNodesBeforeArrows.

 Remarks

For easier selection, arrows have a hit-detection area several pixels wider than their visible segment lines. However, if several arrows with higher Z index cross a node, it would be difficult to select it. The HitTestPriority property allows altering hit-test results in such situations. If set to htpNodesBeforeArrows, nodes are hit-tested before all arrows. htpZOrder makes all items tested in decreasing Z order, independently of their type.

 See Also