Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MousePointer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
MousePointer
Divers
Thread ID:
00930119
Message ID:
00930119
Vues:
70
I've got what appears to be a wierd problem with the MousePointer. I have a process that may take a noticeable amount of time so before I run the process, I set the MousePointer to 11 (Hourglass). After the process is complete, I set it back to the default.

Sounds simple enough. However, when I compiled and ran the application, the pointer never appeared to change - even though there was about a minute or so between the time that I set it and the time that I reset it. So I used the old debugging standby: I placed a MessageBox immediately after the statement where I set the MousePointer property to make sure it was being set. Here's the strange result that I get:

Code runs.
The MessageBox displays the value of the MousePointer setting (which is 11).
Code execution at this point is suspended because the MessageBox is modal.
As I move the mouse around the form, the cursor changes back to the default arrow shape - even though code execution is suspended.

Now, I thought that perhaps there was code running the background that reset the MousePointer property. I DO, in fact, have a timer control running on the form. However, I double-checked and there is no code within the timer control that affects the MousePointer in any way.

So I'm a bit confused. Does anyone know of any background events that FoxPro could be firing on its own that might affect the mouse pointer? I am, of course, retracing my code to see if there is any inkling of something that I'm doing that could affect it, but no luck so far. Any thoughts would be appreciated.

John
John Groft
Consultant
Computer Task Group, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform