Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dead easy for you gurus!!!
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00335411
Message ID:
00335501
Views:
33
>>>Hello All,
>>>I want to display an animated cursor during lengthy processes, and ideally restore the previous one on completion, any ideas
>>>
>>>Regards
>>>
>>Hi Pete,
>>
>>Look at what I just posted to Bruce Campbell. The only difference would be in the declaration of LoadCursor().
Instead of
>>DECLARE INTEGER LoadCursor IN Win32API;
>>  INTEGER hInstance, INTEGER hCursor
>>
>>use
>>
>>DECLARE INTEGER LoadCursor IN Win32API;
>>  INTEGER hInstance, STRING @lpfilename
and pass it the name of the ANI file containing the cursor.
>
>Hi George,
>
>Just out of curiosity have you tried this? I tried some of the animated cursor stuff in VFP5 and had problems. Specifically, it worked in development but not in the runtime and was a documented bug. I assume they fixed in VFP6 (SP3?) but I haven't had a need to use it since.

Hey Bill,

See my latest post to Bruce. I wasn't able to get either an ANI or CUR file to display, but referencing a resounce worked just fine. And I don't have a clue as to why. Sorry.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform