Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement