[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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