Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide hourglass during procedures
Message
From
05/08/1999 13:07:10
 
 
To
05/08/1999 11:35:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00249958
Message ID:
00250262
Views:
27
>>>>>I've got a long procedure that runs in the background in which I watch for keypresses. I don't want to show the mouse cursor because mouse clicks don't work. I tried setting mousepointer to 13(none) for all of my objects but as soon as the procedure is launched and you bump the mouse, the hourglass pops to the front.
>>>>>
>>>>>Is there any way to disable, hide, kill the mouse pointer in a permanent fashion??
>>>>>
>>>>>Thanks
>>>>
>>>>You might need to fiddle with it, but I you can do something like
>>>>
>>>>THISFORM.SetAll( "MousePointer", 11 ) && Hourglass icon
>>>>* Run your process
>>>>THISFORM.SetAll( "MousePointer", 0 ) && Default icon
>>>>
>>>>Bill
>>>
>>>Oops. Sorry. Didn't read you post carefully enough. You don't want the hourglass to appear. I don't really understand this since the hourglass is the universal symbol that says to the user "I'm working so don't bother doing anything". Am I missing something about what you're trying to accomplish?
>>>
>>>Bill
>>
>>The users CAN still use the keyboard. In fact they are supposed to. The routine continually runs checking measurement hardware. The user uses the keyboard to tell the routine which points are active/inactive, when to reset, when to exit the whole thing.
>>
>>Mouse clicks are unavailable, but I don't want to give the message "Just sit there and wait" because it'll never get done. In fact, it is an infinite loop until the user uses Alt+Q to Quit out of the process.
>>
>>Thanks for your thoughts and help.
>
>What happens if you issue:
>
>THISFORM.SetAll( "MousePointer", 13 ) && Hide Pointer
>* Run your process
>* Then some time later
>THISFORM.SetAll( "MousePointer", 0 ) && Default icon
>
>Bill

Bill,

I think the problem is the process needs to "breath" (inkey, wait state) in order to evaluate what to display, or not display for the mouse.

Thanks for your help
Previous
Reply
Map
View

Click here to load this message in the networking platform