Results 1 to 6 of 6

Thread: Cursors

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298
    Other than using the 99-Custom to change to a specific mouse pointer is there another way via code????

  2. #2
    Lively Member Jamagei's Avatar
    Join Date
    Jul 2000
    Location
    running from you. You freak.
    Posts
    69
    mousepointer = vbhourglass

    or other names like vbnormal or vbdefault (lookin help file on mousepointer)

    Now, aren't you sorry you didn't just keep on scrolling?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298

    What I mean is...

    What I mean is specify a file name as c:\windows\cursors\ijumpupanddownfrantically.cur

    Or is it possible to use animated cursors?????????????????????????????????

    Thanks

  4. #4
    Member
    Join Date
    Oct 2000
    Location
    Netherlands
    Posts
    54

    Talking Code available

    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.
    A mind is like a parachute, it has to open to let it work
    www.2beesoft.com for Icon Manager with over 20.000 free icons
    VB6 Ent. SP4, ASP, W2000/W98

  5. #5
    Member
    Join Date
    Oct 2000
    Location
    Netherlands
    Posts
    54

    Sorry

    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
    A mind is like a parachute, it has to open to let it work
    www.2beesoft.com for Icon Manager with over 20.000 free icons
    VB6 Ent. SP4, ASP, W2000/W98

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298

    Talking Thanks

    Thanks for your help Berthil

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width