T O P I C R E V I E W |
yogiyang |
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 |
4 L A T E S T R E P L I E S (Newest First) |
yogiyang |
Posted - Jul 10 2020 : 06:23:35 Thanks for the link of resource editor.
Where is the resource file located?
TIA
Yogi Yang |
kturkay |
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 |
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 |
spetric |
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
|