Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
URGENT: Mouse Pointer question!!
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00510831
Message ID:
00510883
Views:
12
Hi!

Set the _VFP.AutoYield property to .F.
Set the mouse cursor for the control over which it is now (usually, it is a button or a control you use to run a long process). Use DOEVENTS (it is not in a loop, so do not be afraid that this command is slow). After DOEVENTS the mouse cursor will become appropriate to the settings for the control under mouse cursor. After that, during long process, mouse cursor will not change, just because _VFP.AutoYield = .F., so VFP do not process any Windows events - it do not change the mause cursor properly to the cntrol under it.

HTH.

>Hi all,
>I need to set the mouse pointer to the "CLOCK" when i'm doing a process.
>The only way I know to do it is cycle through every object on the form and set the property MousePointer to 11. Also, do this inside every container or pageframe.
>I tryed using SetAll method of the form but, it don't work inside the containers. And the value of some ActiveX controls to set the CLOCK pointer is not 11 like a VFP native control.
>
>My question... Exists any API function to change the default mouse pointer ????
>
>Thanks in advance!!!!!!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform