Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, January 9, 2009 11:49:14 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


HI All,

I am using Document Leadtool. In my appication, 'arrow' is cursor icon.
Now, I want to change this cursor icon  to a small rectangle, i.e.
in place of arrow, it shows this rectangle. Can anybody help me or guide me how I can change this cursor icon to custom icon?

Thanx in advance.
Regards
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, January 12, 2009 5:12:05 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

What version of LEADTOOLS (14.5, 15, 16, etc.) are you using?
What LEADTOOLS programming interface (.NET objects, DLL API, C++ CLass Library, etc.) are you using?
What is the LEADTOOLS control that you are using?
If you are using .NET and you want to change the cursor of the RasterImageViewer, you can change the to the RasterImageViewer.Cursor property as follows:
RasterImageViewer.Cursor = new Cursor(@"C:\MyCursor.cur");
 
#3 Posted : Monday, January 12, 2009 6:53:10 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi,
Thanx for the reply.
I am using LEADTOOLS 14.5 & Delphi interface. Please help me how it is possible to create custom cursor.

Regards,
Manoj Kumar
 
#4 Posted : Tuesday, January 13, 2009 8:00:29 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Manoj,
If you are using the Main Control, try to set the Screen.Cursor property to the desired cursor. The Main VCL Help file contains several examples where this was used, check the help topic 'Save example for Delphi' for example.
 
#5 Posted : Tuesday, January 13, 2009 7:43:20 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Thanx for your reply.

My application is having toolbars & menu. And a screen on which it
displays some picture. The picture is opened using annotation tool.
What I want it when my mouse cursor is over that picture, it should show custom cursor.

When I used Screen.cursor, the cursor mouse not changed when it is on the picture. I need some annotation cursor property change.

Regards,
Manoj Kumar

 
#6 Posted : Wednesday, January 14, 2009 5:34:53 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Manoj,
Try to use the AnnAutoCursor to change the cursor. You can check our VCL AnnDemo for a sample code under the 'Change Hilight and Cursors' menu item.
 
#7 Posted : Wednesday, January 14, 2009 7:21:24 PM(UTC)

makumar  
makumar

Groups: Registered
Posts: 23


Hi Adam,
Very much thanx for your reply.
I will try it.
Thanx once again.

Regards,
Manoj Kumar
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.120 seconds.