Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

How can i change my Cursor type to Window Level?
Started by Gunasekaran at 11-12-2008 0:42. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  11-12-2008, 0:42
Gunasekaran is not online. Last active: 12/18/2008 10:19:22 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 174
How can i change my Cursor type to Window Level?
Reply Quote

Hi

   I am using Lead tools licensed version 15.0. I am working in Medicalviewerdemo project in VB.NET. I want to change the default cursor(Ur cursor) to my own cursor type when appling medicalviewer action type window level on the image. How can i change the cursor type? Kindly do the need full as early as possible...

Thanks and Regards
Guna
   Report 
  11-12-2008, 10:24
Adam Boulad is not online. Last active: 1/6/2009 1:25:47 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 540
Re: How can i change my Cursor type to Window Level?
Reply Quote
Guna,
I have not tried this before, but try to set the MedicalViewer.Cursor property in the UserActionMouseDown event and re-set it in the UserActionMouseUp event.


Adam Boulad
LEADTOOLS Technical Support

   Report 
  11-13-2008, 0:05
Gunasekaran is not online. Last active: 12/18/2008 10:19:22 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 174
Re: How can i change my Cursor type to Window Level?
Reply Quote

Hi Adam

    I am using following code in user action mouse down, mouse move and mouse up
window.cur (its my own cursor)
m_Viewer.Cursor = New Cursor("c:\\window.cur")

My own cursor show when i apply the window level expect when i mouse down and drag. that time the window level default cursor showed, how can i avoid that. Kindly help as soon as possible..

Thanks and Regards
Guna
   Report 
  11-13-2008, 11:56
Adam Boulad is not online. Last active: 1/6/2009 1:25:47 PM Adam Boulad



Top 10 Posts
Joined on 09-16-2007
Posts 540
Re: How can i change my Cursor type to Window Level?
Reply Quote
Guna,
If you want to change the cursor for the user actions such as WindowLevel, you can set the MedicalViewerWindowLevel.ActionCursor property to the desired cursor and pass it to the SetActionProperties Method.
Adam Boulad
LEADTOOLS Technical Support

   Report 
  11-13-2008, 23:14
Gunasekaran is not online. Last active: 12/18/2008 10:19:22 AM Gunasekaran



Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 174
Re: How can i change my Cursor type to Window Level?
Reply Quote
Hi

 Done it..  Thanks..

Thanks and Regards
Guna
   Report 
Post
LEAD Support Fo... » Developer » General » How can i change my Cursor type to Window Level?

Powered by Community Server, by Telligent Systems