-
I wanted my pointer icon to switch to a hand over a picture box in VB6, but there was no option for hand, so it seems I'll have to plug it in as a custom. One problem, I can't find the hand pointer on my system because I don't know the extension for pointers. I'm also wondering if every single Windows machine from 3.x up will have this hand pointer in the same spot or if I'll need to add that hand as part of my deployment package.
-
The extention for a Cursor is *.cur.
-
Hope this helps, its from Microsoft Help Pages:
Object.MouseIcon[ = cFileName]
Settings
cFileName
Specifies the file that is displayed when the mouse pointer is positioned over the object. You can specify a mouse icon (.ico) file, a mouse cursor (.cur) file, or an animated mouse cursor (.ani) file.
Remarks
To display the mouse icon, set the MousePointer property to 99 (Custom).
-
I had that problem, I wrote an activex control for a hyperlinked label to call the default browser but couldn't find the damn hand cursur IE uses so I took a screen grab of it and redrew it in a cursur builder software package included in borland C++. It looks identical, transparent and has the hot spot under the finder, let me know if you want it! I can email it to you.
-
better still, here's a mimed version for whoever wants...
Code:
Content-Type: application/octet-stream; name="Hyperlink.cur"
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename="Hyperlink.cur"
AAACAAEAICAAAAgABQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEA
AAAAAAAAAAAAAAAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAf4AAAH+AAAD/wAAA/8AAAf/AAAH/4AAD/+AAAv/gAAb/4AAO
/+AADP9gAADbYAAA20AAANsAAADYAAAAwAAAAMAAAADAAAAAwAAAAMAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////wA/
//8AP///AD///gAf//4AH//8AB///AAP//gAD//4AA//8AAP/+AAD//gAA//
4gAP//4AH//+AD///gD///4H///+H////h////4f///+H////z//////////
//////////////8=
-
I have no idea how to pull that maneuver above, but I'll try to put all that data stuff in a word pad and save it as an .cur and see what happens.
By the way, how come when I searched my C: I found no *.cur files?
Always full of questions,
-
No prob, I emailed you the file. You needed a mime decoder