Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the mouse pointer
Message
 
À
21/11/2001 14:36:22
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00584657
Message ID:
00584899
Vues:
38
>Hi All:
>
>Is this possible? I would like to change the mouse pointer to anything but the standard arrow (0) BUT only if a specific key, the Ctrl key, is pressed and stays pressed. I've created a simple form without any controls on it. In the Keypress event I put,
>
>if nshiftaltctrl = 2
> thisform.mousepointer = 11
>endif
>
>When the form is run and I press Ctrl, nothing happens. I'm guessing that the second parameter of Keypress (nShiftaltctrl) is only used if the first (nkeycode) is passed in, ie. any key other than Shift, Ctrl or Alt is pressed.
>
>Does anyone have any workarounds and/or suggestions as to how I might accomplish this?
>
>TIA.

Check out message #552384 for some ideas about the Shift/Controls keys.
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform