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

Delphi need modify hand cursor windows

hello my friends i am using this function in delphi

cursor2 := LoadCursorFromFile('c:\cursors\cursor2.cur');
 SetSystemCursor(cursor2, OCR_NORMAL);
 SetSystemCursor(cursor2, OCR_IBEAM);
 SetSystemCursor(cursor2, OCR_HAND);

I am need modify the normal, hand and ibeam cursors and i am using this and only modify the normal
cursor the hand cursor and ibem i am use this and continues the default cursor, please help me with a function
for i am modify this. thanks
  • 2
1 Solution
Try executing this line before you call SetSystemcursor(..):

Screen.Cursors[crHandPoint] := LoadCursor(0,IDC_HAND); 

Open in new window

This older EE question might also help solving your problem...
Change the cursor globally
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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