API Documentation -> NtDisplayDef -> crosshairType

# NtDisplayDef.crosshairType Member

This member configures the croshair for the mouse cursor. If activated a crosshair is drawn that covers the entire Time Chart, the Header Control containing the time scale and all Row Headers.
It is important to know that the crosshair is only active as long as the mouse is over the very row of the data type it is set for. As soon as the mouse is leaving this row the crosshair vanishes. By this the crosshair functionality can be ativated by row. This makes sense as a crosshair might be of good use for some data types, only. Please see the figure below for an example:

There are four legal values for this parameter:
0: No crosshair.
1: Only the horizontal line of the cross hair is visible.
2: Only the vertical line of the crosshair is visible.
3: Both horizontal and vertical line are drawn.

Type:

int

Remarks:

This member can be changed at any time but it is recommended to call Invalidate() for the Time Chart, the Header Control and all Flank Controls.

Top API Documentation -> NtDisplayDef -> crosshairType © 2016 Bassaly