Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the mouse pointer
Message
 
To
21/11/2001 14:36:22
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00584657
Message ID:
00584899
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform