Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Cursor
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00566845
Message ID:
00566891
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
In addition, there was a bug when specified mouse cursor did not work in EXE (not sure if it was fixed or not). In this case you will need to have .CUR file separately, not compiled into EXE.

>Hi!
>
>VFP controls have a special properties for that. When you want to use one of the standard Windows mouse cursors, you can specify it in the MousePointer event. When you want to use custom graphic, you require to set 2 properties: MousePointer=99 (custom), MouseIcon = icon or CUR file for mouse pointer. CUR file is different because you can specify in it the position of the mouse central point. Probably you can use "hand" by saving screen into bitmap, getting just cursor from it and write into the CUR file using, for example, ImageEdit.EXE. There are also a plenty of mouse cursors around teh internet for downloads, take a look also to your Windows\Cursors directory.
>
>HTH.
>
>>Hi all,
>>
>>How can I change the mouse cursor graphic when it's over some specific text.. just like the links on web pages?
>>
>>Thanks,
>>Jimi
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform