How to change mouse pointer in vb6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • muddasirmunir
    Contributor
    • Jan 2007
    • 284

    How to change mouse pointer in vb6

    I want that my mouse pointer will change to hand when we move our mouse to a text and come to arrorw again when we leave.
    Just like same as we move our mouse over a hyperlink in explorer.

    any help ?

    i had tried
    screen.mousepoi nter = vbhourglass
    on mousemove event of text but did not succeed as the pointer change but did not come back to arrorw again.also i do not know what to write to change to hand pointer instead of hour glass in above code.

    Thanks
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    you need to set the mouseicon and mouse pointer properties of the control
    eg--label

    Comment

    • QVeen72
      Recognized Expert Top Contributor
      • Oct 2006
      • 1445

      #3
      Hi,

      For selected TextBox, set these properties:

      MousePointer = 99
      MouseIcon = C:\Program Files\Microsoft Visual Studio\COMMON\G raphics\Cursors \H_Point.cur

      Regards
      Veena

      Comment

      Working...