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

ID: Q76984


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for Windows, versions 2.0, 3.0
  • Microsoft Visual Basic programming system for Windows, version 1.0


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.


MORE INFORMATION

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 :
Version : WINDOWS:1.0,2.0,3.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.