Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
Forum membership is Free! Click
Join
to sign-up
Username:
Password:
Save Password
Forgot your Password?
All Forums
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
Assign my own designed cursors
New Topic
Reply to Topic
Author
Topic
yogiyang
India
727 Posts
Posted - Jun 18 2020 : 00:15:00
Hello,
I want to assign my own designed cursors.
Any ideas as to how can we assign them?
TIA
Yogi Yang
spetric
Croatia
308 Posts
Posted - Jun 18 2020 : 15:03:38
Hi,
I'm loading custom cursors from compiled resource using LoadCursor,
but I use C++. Here is a nice explanation how to load custom cursors in Delphi:
http://delphi.cjcsoft.net/viewthread.php?tid=44731
Maybe this can help you.
Siniša
yogiyang
India
727 Posts
Posted - Jun 19 2020 : 01:18:32
Hello Siniša,
Thanks for the link. I will go through it try it out in my software.
TIA
Yogi Yang
kturkay
44 Posts
Posted - Jun 27 2020 : 18:28:25
uses
winapi.windows;
.
.
function ExePath: string;
begin
Result := ExtractFilePath(Application.ExeName);
end;
.
.
Screen.Cursors[crIEPencil] := LoadCursorFromFile(PWideChar(ExePath + 'yourpencil.cur'));
you can find all constants similar to crIEPencil
in chm help file in this topic
TImageEnView.Cursor
if you want them embedded. you can replace those resources using
https://stefansundin.github.io/xn_resource_editor/
yogiyang
India
727 Posts
Posted - Jul 10 2020 : 06:23:35
Thanks for the link of resource editor.
Where is the resource file located?
TIA
Yogi Yang
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page