PDA

Click to See Complete Forum and Search --> : mouse pointer


hbarker
Dec 29th, 1999, 07:24 PM
Upon clicking enter our application begins it's processing. Is there a way to disable (or change the mouse pointer) for as long as it is doing it's processing to let the user know that the program is still working.

Mark Sreeves
Dec 29th, 1999, 07:27 PM
sure

Me.MousePointer = vbHourglass

then

Me.MousePointer = vbDefault

resets it


------------------
Mark Sreeves
Analyst Programmer

Mark.Sreeves@Softlab.co.uk
A BMW Group Company

Crazy D
Dec 29th, 1999, 07:57 PM
Notice that a button can still be pressed, whether the mousecursor is an hourglass or not.
You can disable the form using me.enabled = false .
You can also use a progressbar to indicate the process is still in progress.

death
Dec 30th, 1999, 01:05 AM
Can you change the pointer to a picture file?
Like a novelty pointer?

Aaron Young
Dec 30th, 1999, 01:16 AM
You can by setting the Value to vbCustom and Loading an Image into the MouseIcon Property, but the Image has to be in a Cursor or Icon Format, ie.

Screen.MouseIcon = LoadPicture("..\Common\Graphics\Icons\Arrows\Point09.ico")
Screen.MousePointer = vbCustom



------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com