Results 1 to 4 of 4

Thread: Change Mousepointer to Hand

  1. #1
    Guest

    Question

    How can I change my mousepointer to te IE4/5-like hand when "surfing"? Now, I use code similar to this

    me.MouseIcon = LoadPicture(App.Path & "\H_POINT.cur")
    me.MousePointer=vbcustom

    I don't like this code for having to load a custom cursor, when the hand should be in windows somewhere? I've tried all the pre-defined .Mousepoiter properties (from 0 to 255) and found no hand whatsoever... Can anyone help?

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    That is the way i have doen it before as well.

    I set a labels mousepointer to Custom, and then set the Icon to a picture of a hand. VB then does all of the changing for you, so when the mouse is over the label it turns to a hand, when not over the label it returns to the default.
    Iain, thats with an i by the way!

  3. #3
    Guest

    Hmmmmmmm.....

    I know, but I think it's not THE way... I dunno... I was just thinkin' "If every cursor can be accessed thru .mousepointer = x execpt the hand, how come?" I think it must be possible...


    ____________________
    Life would be easier if I had the sourcecode...

  4. #4
    Frenzied Member
    Join Date
    Jun 2000
    Location
    East Providence, RI
    Posts
    1,715

    Re: Hmmmmmmm.....

    thats the only way that I know how to do it
    NXSupport - Your one-stop source for computer help

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