Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Cursor
Message
 
 
À
11/10/2001 06:46:20
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00566845
Message ID:
00566860
Vues:
14
This message has been marked as the solution to the initial question of the thread.
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
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform