Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Setting Mouse Cursor (MousePointer) (Read 3749 times)
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Setting Mouse Cursor (MousePointer)
Dec 5th, 2007 at 5:29pm
Print Post  
I need to set the mouse cursor that displays when the user moves the mouse over the Chart regardless of where he is or what he is doing (i.e. in VB its MousePointer = x)

When I set it in the container control the flowchart sometimes shows the new cursor but seems to reset it all the time back to normal.

Is there a method of setting the default cursor on the chart directly?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting Mouse Cursor (MousePointer)
Reply #1 - Dec 6th, 2007 at 6:14am
Print Post  
The control keeps a list of mouse cursors to display in various situations, and changes them automatically when needed, e.g. when the user moves the mouse over a selection handle. You can set these cursors by calling the FlowChart.SetMouseCursor method. It should be easy to add a new member to that list, which will override all other cursors when set. I will post here a link to the updated dll here when that's ready.

Stoyan
  
Back to top
 
IP Logged
 
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Re: Setting Mouse Cursor (MousePointer)
Reply #2 - Dec 6th, 2007 at 8:07am
Print Post  
I saw that API but I also meant a way to set the cursor when the mouse is over blank space etc. I.e. global for the whole chart area.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting Mouse Cursor (MousePointer)
Reply #3 - Dec 6th, 2007 at 8:29am
Print Post  
You could use SetMouseCursor(mcPointer) for the whole chart area, but the cursor will still change when you move it over a box.

Stoyan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting Mouse Cursor (MousePointer)
Reply #4 - Dec 6th, 2007 at 12:08pm
Print Post  
We have added a mcCurrent cursor type which you can set via SetMouseCursor:
https://mindfusion.org/_temp/fc_cursors.zip

It will override all other cursors; they won't be displayed even when the mouse is over a selection handle, nor during modification when different cursor images are used to indicate whether the operation is allowed. To revert to the original behavior, set the mcCurrent cursor back to 0.

Stoyan
  
Back to top
 
IP Logged
 
baron
YaBB Newbies
*
Offline


1001001001

Posts: 42
Joined: Dec 2nd, 2007
Re: Setting Mouse Cursor (MousePointer)
Reply #5 - Dec 10th, 2007 at 2:43pm
Print Post  
Thanks!

And may I interject here that I am very impressed with your level and speed of support.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Setting Mouse Cursor (MousePointer)
Reply #6 - Dec 10th, 2007 at 4:45pm
Print Post  
8)
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint