My Menu String is like " Application & Data"
I do InsertMenu. and when I see the menu it looks like "Application
_Data"
I guess & is the Skip character + it adds the next character as
Shortcut key of that menu Item.
But Can you please let me know how to Skip it? I tried \&, \\& but it
does not give any good result
Yes, "&" is used to add the shortcut. I think that you have to write
&& if you want to write "&"
Try &&
Dave
&Application && Data
Another trick we commonly use is to put three dots (ellipse) after the item
in a menu if it is going to pop up another screen or dialog. So, if in this
case you were going to pop up an Application & Data window you would put:
&Application && Data...
In the resource editor you can right click and pick "Check mnemonics" from
the menu to make sure there are no duplicate keys in your menu or dialog
items.
Tom
"Matrixinline" <anup.k...@gmail.com> wrote in message
news:e1bc73f5-5ff2-45c8...@e4g2000prn.googlegroups.com...
> In the resource editor you can right click and pick "Check mnemonics" from
> the menu to make sure there are no duplicate keys in your menu or dialog
> items.
There is no "Check mnemonics" for menus anymore (still there for dialogs).
This is part of the countless "enhancements" from VS6 to VS2002.
--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
It's present in VS2010 (for the native menu editor).
Dave
Tom
"Mihai N." <nmihai_y...@yahoo.com> wrote in message
news:Xns9CCC26D...@207.46.248.16...
Good to hear, I will take a look.
(I don't know if it is the result of my complaints,
but it was part of a longer list I have submitted :-)
I have it in VS2005 + SP1, too.
BTW, I didn't even know this option existed, but after readin this
thread I've looked for it and it is there, in the context menu of the
menu editor
Whenever we have stuff translated I always have to go through this process
on each menu since some of the keys get messed up with the translations.
It's not an arduous process, but it gets tedious so I'm happy for tools like
this.
Tom
"Mihai N." <nmihai_y...@yahoo.com> wrote in message
news:Xns9CCD94B...@207.46.248.16...
Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
Hm, I haven't seen this before. In VS6 it used to be under tools.
The same menu option was also checking dialogs. And the accelerator was
Ctrl+M.
Now the dialog checker is under Format with Ctrl+M as accelerator,
and the menu checker is in the context meny, with no accelerator.
And I am pretty sure it was not there before SP1 (I have to check).
> It searches all the way down through the menus.
This is the old behavior.
> Whenever we have stuff translated I always have to go through this process
> on each menu since some of the keys get messed up with the translations.
Same here.
Same here :-)
And with sugestions of rearanging the stuff to eliminate conflicts and
improve consistency.
Also taking a list of "fixed" quick-keys (that should not be moved because
they are standard (thing Copy or Paste) or because they used to be there in
a previous version (you don't want the quick keys to move around between
versions)
Did you notice the shortcut keys always seem to change between releases of VS? SOMEBODY
likes to change them...
joe
On Tue, 24 Nov 2009 22:41:46 -0800, "Mihai N." <nmihai_y...@yahoo.com> wrote:
>
>> So I did something that produced an
>> actual *listing* of all the dialogs and all the shortcuts, and indicated
>> conflicts.
>
>Same here :-)
>And with sugestions of rearanging the stuff to eliminate conflicts and
>improve consistency.
>Also taking a list of "fixed" quick-keys (that should not be moved because
>they are standard (thing Copy or Paste) or because they used to be there in
>a previous version (you don't want the quick keys to move around between
>versions)