IDC_FUNCTIONALITY MENU BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", IDM_EXIT END POPUP "&Help" BEGIN MENUITEM "&About ...", IDM_ABOUT END END
This is an example of a part of the default Foo.rc file distributed with VisualC++ 2010(Express), this is how this section of code was shipped. I'm interested in knowing why Exit is expressed in the code as
"E&xit" and all the other elements are the 'right way around'. Obviously, it's a string, it means nothing in terms of code, which leads me onto my next point. Why do these strings require
"&" at all? Removing them has no effect, as I assumed, so why are they there in the first place?
As for any oddity in any language, it's either there, 'for historical or hysterical reasons'. Or it's not an oddity, which is it?
I recognise that this is not really a C++ question, more of a win32 API question.
Edited by Alochai