Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Pointer Can work after build ,exe
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00162435
Message ID:
00162709
Views:
25
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform