by kaze (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(7 Votes)

This example allows you to set the contents of a picturebox as the Mouse Icon (cursor). It uses the ImageList's ExtractIcon method to extract an icon, then it is simply set to the main form's MouseIcon property. Very easy to understand, all lines are commented.
Download Set a PictureBox (including text) as the cursor (2 KB)