Главная страница | назад





Article #17841: Linking an animated cursor to a resource file.

 Question and Answer Database

FAQ2841D.txt   Linking an animated cursor to a resource file.
Category   :Object Pascal
Platform    :All
Product    :All 32 bit  

Question:
How do I link an animated cursor to a resource file, then load it
from my application?


Answer:
You will need to save the ani file into a res file as user data,
(detailed in Borland's Technical information article Ti-3209 -
"How to use a user defined resource"). Once you have 
successfully linked the resource to your application, you will 
need to save the data to a temporary file, then use the 
LoadImage command to get a handle to the animated cursor.


7/16/98 4:31:28 PM
 

Last Modified: 21-MAR-00