Microsoft KB Archive/76984

= PRB: ToolBox/Color Palette Menus Lose Focus After Single ESC =

Article ID: 76984

Article Last Modified on 12/12/2003

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Standard Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Visual Basic 1.0 Standard Edition

-



This article was previously published under Q76984



SYMPTOMS
The ToolBox and Color Palette system menus lose their focus after only one press of the ESC key rather than two. Other system menus lose focus after two presses of ESC.



STATUS
This behavior is by design.



Steps to Reproduce Behavior

 * 1) Start Visual Basic.
 * 2) Click the ToolBox or the Color Palette.
 * 3) Press ALT+MINUS to open its system menu.
 * 4) Press ESC to close its system menu.
 * 5) Press SPACEBAR to drop the system menu again.

Pressing SPACEBAR does not drop the system menu as it would in other Windows system menus. The focus on these two particular system menus is lost with one press of ESC. This is not a problem, but a design feature of the Visual Basic ToolBox and Color Palette windows.

This feature is unlike other Windows system menus in which two ESC key presses are required to remove the focus. (The first ESC closes the system menu, but the focus remains on it. The second ESC returns the focus to the original window.) The ToolBox and Color Palette system menus are not regular Windows system menus, and function differently.

Additional query words: 2.00 3.00

Keywords: kbprb KB76984

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.