I would like to change the cursor image when dragging a new link while moving the mouse over potential target ports. If the link is valid, the hand cursor is fine, but another cursor (e.g. a red cross) should be displayed, when moving over a port, where the link is not valid. (Additionally it would be nice to change the line color to red then.)
Searching the forum I found the following similar topic with some hint, but I need a more detailed explanation resp. an example for such a “DoMouseMove override”.
Furthermore I have the impression, that the IsValidLink methods of the ports (and even GoToolLinkingNew derivative) are called only once during the mouse movement of a user. Are they cached somewhere?
Topic: Cursor image when drawing links
So I can speculate that you are interested in having the cursor change when the mouse is over a port that the user cannot link to, but that the rest of the time the cursor is still a “hand” during the linking operation.
If that’s the situation you are interested in, you can certainly set GoView.CursorName in an override of <span =“highlight”>GoToolLinkingNew.DoMouseMove.