Where to find a MouseIcon

B

Bo Hansson

I would like to use the MouseIcon that normally appears when you point at a
hyper link, i.e. a hand pointing upwards.

I have searced for all files with the extension .ico, bu have not found that
particular icon.


/BosseH
 
J

Jay Freedman

Cursor graphics aren't .ico files, but .cur files. Look for harrow.cur
in the Windows\Cursors folder.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
B

Bo Hansson

Thanks Jay

Alright, there I can find a hand pointing uwards - but it is NOT the one
used by common Windows-applications. Is that one copyrighted or.....?

/BosseH
 
J

Jay Freedman

Hi Bo,

Picky, picky! :)

That particular hand doesn't seem to exist as any kind of separate
image file. I don't think it's copyrighted specifically, it just isn't
available.

It seems to be built into the Cursors class of the .Net Framework (and
presumably something similar in the MFC/ATL library for the pre-.Net
environment). In VB.Net, if you want a hand cursor, you write the line

Me.Cursor = Cursors.Hand

in the appropriate place in your code, and it magically appears.
Unfortunately, it isn't one of the four cursor types available in VBA.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top