PRB: Ampersand in Menu Item Is Not Converted (110713)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q110713 SYMPTOMS
If a menu item has tabbed or right-aligned text that contains a mnemonic
access character, an ampersand ("&") will appear in front of the desired access character and the character will not be underlined.
If the menu item has a cascading menu associated with it, the right-aligned text may partially overwrite the arrow that indicates the
presence of a submenu.
CAUSE
An ampersand in a menu item string is normally translated into an underline
character and used as the mnemonic access character for that menu item. If
an ampersand occurs in tabbed or right-aligned text, however, it will not
cause the character following it to be underlined. Instead, the ampersand
and the access character will be literally displayed as they appear in the
string. Windows does not examine tabbed or right-aligned text in menu
strings to determine if the text contains an ampersand that needs to be
converted into an underscore.
STATUS
This problem has been noted, but the behavior has been retained to maintain
backward compatibility for any application that may depend upon this
behavior.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbMenu kbprb KB110713 |
---|
|