Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Hiding the mouse pointer...

Greetings,
Can anyone point me in the right direction to hide or disable the mouse
pointer through the API or some other avenue? Your help is appreciated.
Rick
[181 byte] By [Rick McLean] at [2007-11-10 0:20:08]
# 1 Re: Hiding the mouse pointer...
Hi,

Use...

Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As
Long) As Long

bShow = FALSE to hide, TRUE to 'show' again.

--
Kind Regards,

Garth Oatley

"Rick McLean" <rmclean@vsi-hq.com> wrote in message
news:38D1554B.9B1BDFF5@vsi-hq.com...
> Greetings,
>
> Can anyone point me in the right direction to hide or disable the mouse
> pointer through the API or some other avenue? Your help is appreciated.
>
> Rick
>
Garth Oatley at 2007-11-11 20:04:18 >
# 2 Re: Hiding the mouse pointer...
Hi,

Use...

Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As
Long) As Long

bShow = FALSE to hide, TRUE to 'show' again.

--
Kind Regards,

Garth Oatley

"Rick McLean" <rmclean@vsi-hq.com> wrote in message
news:38D1554B.9B1BDFF5@vsi-hq.com...
> Greetings,
>
> Can anyone point me in the right direction to hide or disable the mouse
> pointer through the API or some other avenue? Your help is appreciated.
>
> Rick
>
Garth Oatley at 2007-11-11 20:05:12 >
# 3 Re: Hiding the mouse pointer...
Thanks for the speedy response Garth. It works like a charm!

Garth Oatley wrote:

> Hi,
>
> Use...
>
> Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As
> Long) As Long
>
> bShow = FALSE to hide, TRUE to 'show' again.
>
> --
> Kind Regards,
>
> Garth Oatley
>
> "Rick McLean" <rmclean@vsi-hq.com> wrote in message
> news:38D1554B.9B1BDFF5@vsi-hq.com...
> > Greetings,
> >
> > Can anyone point me in the right direction to hide or disable the mouse
> > pointer through the API or some other avenue? Your help is appreciated.
> >
> > Rick
> >
Rick McLean at 2007-11-11 20:06:16 >
# 4 Re: Hiding the mouse pointer...
Thanks for the speedy response Garth. It works like a charm!

Garth Oatley wrote:

> Hi,
>
> Use...
>
> Declare Function ShowCursor Lib "user32" Alias "ShowCursor" (ByVal bShow As
> Long) As Long
>
> bShow = FALSE to hide, TRUE to 'show' again.
>
> --
> Kind Regards,
>
> Garth Oatley
>
> "Rick McLean" <rmclean@vsi-hq.com> wrote in message
> news:38D1554B.9B1BDFF5@vsi-hq.com...
> > Greetings,
> >
> > Can anyone point me in the right direction to hide or disable the mouse
> > pointer through the API or some other avenue? Your help is appreciated.
> >
> > Rick
> >
Rick McLean at 2007-11-11 20:07:20 >
# 5 Re: Hiding the mouse pointer...
Hey guys, im new to vb, and im not understanding what this dose,
can someone help me please,
im tryin to hide the mouse cursor, and i would like to knw how it works,

thanks
Jmay12 at 2007-11-11 20:08:19 >
# 6 Re: Hiding the mouse pointer...
alright i got it to work
thanks
Jmay12 at 2007-11-11 20:09:24 >