• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

How Do I use colour cursors from .cur files?

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
essbb
Asked:
essbb
1 Solution
 
ronit051397Commented:
screen.cursors[1]:=LoadCursorFromFile('c:\something.cur');
form1.cursor:=1;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now