Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic OnMouseMove (Read 1058 times)
Nedor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Aug 6th, 2010
OnMouseMove
Sep 14th, 2010 at 8:04am
Print Post  
For customized adding of nodes or links, i created my own BehaviorBase derivated class.
If the mousecurser is moved over a node, I change the mousecursor depending of some checking functions which determines, if adding a link for this node is possible or not.
But OnMouseMove is only called during drag operations. Is there any way to get the mouseMove event in my BehaviorBase derivated class if no drag operation is running?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: OnMouseMove
Reply #1 - Sep 14th, 2010 at 8:56am
Print Post  
You could handle the DiagramView.MouseMove event and call that method on your behavior object. Or you might override SetMouseCursor to change the cursor when not dragging.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint