BUG: Visual Workbench CTRL+] Fails on International Keyboards

ID: Q116304

1.00 1.50 1.51 1.52 WINDOWS kbtool kbbuglist kbhw

The information in this article applies to:

SYMPTOMS

When using the Microsoft Visual Workbench on keyboards that use an international layout, the keystroke CTRL+], which is used to find a matching brace in source code, may fail.

RESOLUTION

The README.WRI file supplied with Visual C++ describes different accelerators that perform the same action that the CTRL+] keystroke performs on English keyboards. The chart contained in the README.WRI file is shown below to describe the equivalent keystrokes for some keyboards:

Keyboard                        Key

Belgian, French                 CTRL+$

Canadian                        CTRL+<cedilla>

Czech                           CTRL+)

Slovenian                       CTRL+<a dieresis>

Danish, Swedish, Norwegian,
Finnish, Swiss                  CTRL+<dieresis>

German, Italian, Spanish        CTRL++

Hungarian                       CTRL+<U acute>

Latin American, Dutch           CTRL+*

Polish                          CTRL+'s
                                (the "'" should be above the "s")

Portuguese                      CTRL+'

United Kingdom                  CTRL+]

Yugoslavian                     CTRL+<eth>

Consult the README.WRI file contained in the MSVC/HELP directory for more information on using Visual C++ with international keyboard layouts.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To reproduce this problem, you may have to force Windows to use a different keyboard layout. For the purposes of reproducing the problem, the Swedish keyboard layout will be adequate. You must have the Windows system disks available to make this change.

To reproduce the problem, do the following:

1. Start Control Panel.

2. Run the International applet.

3. Under Keyboard Layout in the International dialog box, select Swedish as

   the layout type. At this time, Windows requests a disk containing the
   appropriate DLL.

4. Insert this disk and choose OK to install the new keyboard layout.

5. Start Visual C++. NOTE: It is not necessary to restart Windows to use

   the new keyboard layout.

6. Bring up some source code that contains matching braces.

7. Place the caret to the right of the second brace.

8. Press CTRL+]. If the Swedish keyboard layout has been properly set up,

   nothing should happen.

9. Run the International applet again to reset your keyboard back to the
   original layout.

Additional reference words: 1.00 1.50 KBCategory: kbtool kbbuglist kbhw KBSubcategory: VWBIss Keywords : kb16bitonly

Last Reviewed: July 23, 1997