VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Animate Your Form's Cursor Upgrade

by Vince Hahn (1 Submission)
Category: Windows API Call/Explanation
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

This code simplifies the code found at https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=24150&lngWId=1 so that one can use a module and just pass a few arguements rather than clutter up your load and unload procedures, or however else you want to call the routines.

Inputs
Setting: Calling form's name, or the "Me" thingy will do fine, and location of the animated cursor file (*.ani). In this case the location has been set up for whomever downloads it, but easy to follow.
Assumes
Always be sure to unload via the form rather than the run/pause/stop buttons in VB, and call the routines in the unload and load events
Code Returns
Nothing
Side Effects
You may like it too much. I know I do.
API Declarations
See Included Module.

Rate Animate Your Form's Cursor Upgrade

Download Animate Your Form's Cursor Upgrade

Download Animate Your Form's Cursor Upgrade (4 KB)

Animate Your Form's Cursor Upgrade Comments

No comments have been posted about Animate Your Form's Cursor Upgrade. Why not be the first to post a comment about Animate Your Form's Cursor Upgrade.

Post your comment

Subject:
Message:
0/1000 characters