Other than using the 99-Custom to change to a specific mouse pointer is there another way via code????
Printable View
Other than using the 99-Custom to change to a specific mouse pointer is there another way via code????
mousepointer = vbhourglass
or other names like vbnormal or vbdefault (lookin help file on mousepointer)
What I mean is specify a file name as c:\windows\cursors\ijumpupanddownfrantically.cur
Or is it possible to use animated cursors?????????????????????????????????
:):(:):(:):( Thanks
I have written a VB application which can create and change any cursor including hotspot and animated icons(www.2beesoft.myweb.nl/iconbook.htm)
I can provide the code to change cursors in W95/W98/NT4/2000 buts its rather lengthly and complicated and I haven't got it at hand now. You could change a cursor with Windows itself with a unique filename and search the registry for that filename, then you have all the information you need to change cursors, just edit the found registration key.
Maybe if I get some requests from programmers I could create a sample project from it for code sites like this one. I haven't seen any ready to use code for it yet.
Looks like I misread your question, the answer was already there. Sorry
Just set the mousepointer to Custom of like
Object.Mousepointer = 99
Object.MouseIcon = "c:\filename.ico"
I don't know if its possible, but you could try to create 32*32 Listimage and store bitmaps there, set transparancy color and use the ExtractIcon Method
Thanks for your help Berthil