Discussion Locked

Loading Cursors in VB

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm looking for the API call (or anyother method for changing the mouse pointer to the Link Select curosr(the one used with hyperlinks). Please help me. I'm building an ActivX control in VB.

3 replies

by andrew

You can use native VB like this:

MouseIcon = LoadPicture("c:\program files\microsoft visual studio\common\graphics\cursors\H_point.cur")
MousePointer = vbCustom

(you can pick any cursor file...)

This discussion is closed to new replies.