Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Pointer Can work after build ,exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00162435
Message ID:
00162709
Vues:
20
>Probably you can try to change the cursor through API call - there is an article by Paul-Vlad Tatavu in FAQ section telling hoew to do this. There is one downside - the cursor shape will be changed not only for VFP but for all Windows applications.

Yes, Vlad's code works fine, I use it many places. The trick is for every place (control) you change the cursor, you must change it back in all surrounding controls, and any exit events, Deactivates, etc. Something like (in control Mousemove):

oApp.Setmouse(some cursortype)

Then in surrounding controls Mousemove and exit events:

oApp.Resetmouse()

The only one problem not solvable is when a user does an Alt-Tab to another app, I've found no way to catch it and restore cursor (but most users don't do this, fortunately :)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform