Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

Colored mouse cursor

Is it possible to be created a colored mouse cursor by ImageEditor or other tool ?
0
esoftbg
Asked:
esoftbg
  • 2
1 Solution
 
ZhaawZSoftware DeveloperCommented:
Create colored .ico or .cur file (Delphi Image Editor allows to create colored .ico files), save it and then load like this:

screen.Cursors[1] := LoadImage(0, pchar('c:\icon1.ico'), image_cursor, 0, 0, lr_loadfromfile);
form1.Cursor := 1;
0
 
esoftbgAuthor Commented:
Thanks
0
 
ZhaawZSoftware DeveloperCommented:
If you don't want to use external cursor/icon files, you could try to make a colored icon in imageeditor, save it in resource file and then load this icon as a cursor. Haven't tried this, but it could work :)
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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