kaloyan
asked on
How can I put my cursor.....
How can I put my cursor (from file .cur) in use in my application?
You better increase the points and explain better what you need.
ASKER
Edited text of question
ASKER
Adjusted points to 6
In my opinion this question worth 30 points. If you increase to 30 I'll answer it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
const MyCursor = 5;
var
err:word;
begin
err:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32,
32,
lr_defaultcolor or lr_loadfromfile);
screen.Cursors[MyCursor]:= tcursor(er r);
self.cursor:=MyCursor;
end;
var
err:word;
begin
err:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32,
32,
lr_defaultcolor or lr_loadfromfile);
screen.Cursors[MyCursor]:=
self.cursor:=MyCursor;
end;
const MyCursor = 5;
var
err:word;
begin
err:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32,
32,
lr_defaultcolor or lr_loadfromfile);
screen.Cursors[MyCursor]:= tcursor(er r);
self.cursor:=MyCursor;
end;
var
err:word;
begin
err:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32,
32,
lr_defaultcolor or lr_loadfromfile);
screen.Cursors[MyCursor]:=
self.cursor:=MyCursor;
end;
const MyCursor = 5;
var
cursorhandle:word;
begin
cursorhandle:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32, //Must be the true cursor width & height
32, //
lr_defaultcolor or lr_loadfromfile);//must set lr_loadfromfile
screen.Cursors[MyCursor]:= tcursor(cu rsorhandle );
self.cursor:=MyCursor;
end;
var
cursorhandle:word;
begin
cursorhandle:=loadimage(
hinstance,
pchar('c_no01.cur'), //your cursor filename
image_cursor,
32, //Must be the true cursor width & height
32, //
lr_defaultcolor or lr_loadfromfile);//must set lr_loadfromfile
screen.Cursors[MyCursor]:=
self.cursor:=MyCursor;
end;