>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.
Mike,
Not sure if this will help but have you tried clearing the keyboard buffer?
Clear TYPEAHEAD
Caroline