Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALT key and MouseDown Event
Message
From
31/07/2002 18:10:54
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ALT key and MouseDown Event
Miscellaneous
Thread ID:
00684778
Message ID:
00684778
Views:
50
Hello,

I have code in the MouseDown() event of a form that reacts to the case if the ALT key is pressed when a mouse button is simultaneously pressed. This is done via the the second parameter (nShift) of the event that is set to 4 if ALT is pressed.

My code works as expected except for the following. After releasing the ALT key, the first option on the main menu bar becomes highlighted. I believe that this is standard Windows behavior for the ALT key. Unfortunately, I don't want this behavior. Is there a way to not have anything happen after the ALT key is released? I am already using the CTRL and SHIFT key options and am now only left with the ALT key.

TIA to all who reply.

Mike.
Next
Reply
Map
View

Click here to load this message in the networking platform