Solved

How Do I use colour cursors from .cur files?

Posted on 1997-08-08
1
294 Views
Last Modified: 2010-04-03
I want to use color cursors in my application, Could somebody please post an example of setting the cursor in at runtime using a .cur file? I cannot seem to get the LoadCursorFromFile API call working.

I cannot do it from image editor because it only supports mono cursors and it will not let me change the cursor hotspot from 0,0.

I am using delphi 2.01
0
Comment
Question by:essbb
1 Comment
 
LVL 5

Accepted Solution

by:
ronit051397 earned 70 total points
ID: 1340885
screen.cursors[1]:=LoadCursorFromFile('c:\something.cur');
form1.cursor:=1;
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
delphi exception 7 63
Multiple image collision 13 69
Delphi: Connect to running MS Outlook 4 48
how to change, disabled button color FMX ? 1 16
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now