Board index » delphi » Help needed with using animated cursors, please...
barte...@wakefield.com (Bill Artemik)
![]() Delphi Developer |
Mon, 01 Jan 2001 03:00:00 GMT
|
barte...@wakefield.com (Bill Artemik)
![]() Delphi Developer |
Mon, 01 Jan 2001 03:00:00 GMT
Help needed with using animated cursors, please...
I have a need for using Animate Cursors (*.ANI files) in a few of my
programs. I have figured out how to load from file the .ani cursor but with MY users I don't want to take any chances and want to include the file in a resource file and compile it with my executable. What I need to know is: How can I put the .ani file in a resource file, If you have ANY suggestions they would be GREATLY appreciated. I have Thanks, Bill Artemik Bill Artemik barte...@wakefield.com "There are THREE kinds of people in the world... |
Jeremy Collin
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:Help needed with using animated cursors, please...Quote>What I need to know is: 1 CURSOR DISCARDABLE "mycursor.cur" Give each cursor a unique number. Compile the file with brcc32.exe and Quote> How do I read the animated cursor from the resource? crMyCursor = 1; procedure TForm1.FormCreate(Sender: TObject); begin Screen.Cursors[crMyCursor] := LoadCursor(HInstance, MakeIntResource(crMyCursor)); Cursor := crMyCursor; end; Note that the index of your cursor in the Screen.Cursors array does Quote>If you have ANY suggestions they would be GREATLY appreciated. I have -- Jeremy Collins Kansai Business Systems (return address not altered 'coz I get spammed *whatever* I do!) |
Bill Artem
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:Help needed with using animated cursors, please...Thanks! I'll try this this morning. I don't know if I have brcc32.exe, though... Bill On Fri, 17 Jul 1998 09:38:13 +0100, Jeremy Collins Quote<j...@jcollins.demon.co.uk> wrote: ------------------------------- Programmer/Analyst Wakefield Engineering, Inc. barte...@wakefield.com "There are THREE kinds of people in the world... |
Bill Artem
![]() Delphi Developer |
Tue, 02 Jan 2001 03:00:00 GMT
Re:Help needed with using animated cursors, please...Jeremy: This didn't work with Animated Cursors. Works fine with regular Bill On Fri, 17 Jul 1998 09:38:13 +0100, Jeremy Collins Quote<j...@jcollins.demon.co.uk> wrote: ------------------------------- Programmer/Analyst Wakefield Engineering, Inc. barte...@wakefield.com "There are THREE kinds of people in the world... |
Ken Whit
![]() Delphi Developer |
Thu, 04 Jan 2001 03:00:00 GMT
Re:Help needed with using animated cursors, please...Bill, Add the .ANI file to a custom resource file as type RC_DATA. At Adding the .ANI to the resource is easy: MYANICURSOR RC_DATA MyCursor.ANI Ken Clipper Functions for Delphi QuoteBill Artemik wrote: |
1. Tip: using animated cursors
2. Using Animated Cursors in BCB3
3. PLEASE HELP --- Using ActiveX within D3 ---- PLEASE HELP
4. Need help Using AddObject, Please?
5. TTcpServer please help me oh, PLEASE PLEASE PLEASE HELP ME
6. Need help with animated gif
7. Need Help with DIBs [PLEASE.....PLEASE]
9. Big animated cursors in Delphi
10. Animated cursors