Hi there,
does MouseCursor = vbHourGlass not work under Windows XP? For
some reason, this is having no effect on my machine.
2. Check if Mousepointer is over a region
"Stefan Uhlemann" < XXXX@XXXXX.COM > schrieb > Hi, > > how can i check if the mousepointer is over a System.Drawing.Region > (from graphicspath). > In vb6 i used the API Call "PtInRegion" - Is ther something like > that in VB 2005?? > > btw: > The region is not a rectangle. Untested: Try the Region's IsVisible function. Depending on the coordinate system, you may have to use the Control's PointToClient/PointToScreen methods additionally, and you have to take the offset of the Control's origin and the Region's origin into account (if not equal) Armin
4. MousePointer
Can anyone tell me how to set the MousePointer to the hourglass cursor during a long calculation in Microsoft Project? Thanks
Is it possible to change the mousepointer using a stand-alone VBScript? kind regards, arno
8. Mousepointer on modal forms
> Private Sub Command1_Click()
> Form1.Enabled =False
Form2.Show 1
> End Sub
In the Form2_Unload
> Form1.Enabled =True
"Bob Azad" < XXXX@XXXXX.COM > schreef in bericht
news:008d01c34690$c1ac8610$ XXXX@XXXXX.COM ...
> Hello everyone:
>
> I have a bit of problem with the mousepointer when it
> comes with modal forms. Here is what I want to do.
>
> I have 2 forms, Form1 and Form2.
> On form1 I have a command button, that open form2 modally
> and the event for this command button is:
> Private Sub Command1_Click()
> Form2.Show 1
> End Sub
>
> Here is my question. Now that both forms are open, how
> can I make the mousepointer to be equal to 0 (default),
> when the mouse is over form2 and equal to 11 (hourglass)
> when it is everywhere else? I basically am doing the same
> thing that a msgbox does.
>
> Your help is greatly appreciated. If you have any sample
> code, it would be great.
>
> Thanks;
>
>
> Bob
>