Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Coding, syntax & commands
Title:
ALT key and MouseDown Event
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only