Results 1 to 4 of 4

Thread: [Ask] How to change Mouse Pointer/Cursor Icon

  1. #1
    New Member
    Join Date
    Feb 12
    Posts
    3

    Exclamation [Ask] How to change Mouse Pointer/Cursor Icon

    Hello i'm newbie here

    Just wanna to ask..
    How to change Mouse Pointer/Cursor Icon ?

    Here are my Project
    [spoiler=open]

    [/spoiler]

    More details at the time if I want my focus to the mouse in The Avengers image,
    and i want the icon of cursor mouse is changed with this one

    [spoiler=open]

    [/spoiler]

  2. #2
    New Member
    Join Date
    Aug 12
    Location
    France
    Posts
    7

    Re: [Ask] How to change Mouse Pointer/Cursor Icon

    Very simple answer that I use:-

    Me.MouseIcon = LoadPicture(path to cursor) 'this loads your cursor
    Me.MousePointer = 99 'this changes the cursor to your new cursor
    Me.MousePointer = 0 ' this changes the cursor back to normal

    just use MouseMove on the image to activate it.

    Hope this helps

  3. #3
    New Member
    Join Date
    Feb 12
    Posts
    3

    Re: [Ask] How to change Mouse Pointer/Cursor Icon

    Quote Originally Posted by SteveJB View Post
    Very simple answer that I use:-

    Me.MouseIcon = LoadPicture(path to cursor) 'this loads your cursor
    Me.MousePointer = 99 'this changes the cursor to your new cursor
    Me.MousePointer = 0 ' this changes the cursor back to normal

    just use MouseMove on the image to activate it.

    Hope this helps
    Thanks for reply friends..

    i got a little problem here..
    why i got a message "Invalid Picture" ?
    it was a .cur file .. :\



    any prooblem with my own cursor or VB 6 doesnt accepted.. ? :|

    sorry for my bad english
    Last edited by jatikeren; Aug 17th, 2012 at 05:29 PM.

  4. #4
    New Member
    Join Date
    Aug 12
    Location
    France
    Posts
    7

    Re: [Ask] How to change Mouse Pointer/Cursor Icon

    VB6 does not support the same cursors as Windows 7
    You need a compatible cursor
    I think it has to be black and white, and max res 32x32

Posting Permissions

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