[Ask] How to change Mouse Pointer/Cursor Icon
Hello i'm newbie here :D
Just wanna to ask.. :D
How to change Mouse Pointer/Cursor Icon ?
Here are my Project
[spoiler=open]
http://s19.postimage.org/7raaropeb/project.png
[/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]
http://s19.postimage.org/e0egnlxg3/image.png
[/spoiler]
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
Re: [Ask] How to change Mouse Pointer/Cursor Icon
Quote:
Originally Posted by
SteveJB
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.. :D
i got a little problem here..
why i got a message "Invalid Picture" ?
it was a .cur file .. :\
http://s19.postimage.org/v27appcb7/image.png
any prooblem with my own cursor or VB 6 doesnt accepted.. ? :|
sorry for my bad english :)
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