?
Solved

Using custom cursors

Posted on 2003-03-24
3
Medium Priority
?
145 Views
Last Modified: 2010-04-04
Hi,

i wanna know how i can add custom cursors to my application so i can select it from the
Cursor propertie.

ps: i have the .cur files (in my case ZoomIn.cur and ZoomOut.cur)

thanks.
0
Comment
Question by:hexabr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
Zip58 earned 120 total points
ID: 8197083
Hi hexabr

You need to putt the cursors into a resource file

const

  crMyCustomCursor = 6;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Screen.Cursors[crMyCustomCursor] := LoadCursor(HInstance, 'NewCursor');
  Cursor := crMyCustomCursor;
end;

Regards

Zip58

0
 

Author Comment

by:hexabr
ID: 8197214
thanks man =]
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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