问题描述
我正在尝试在我的filenode上启用我的粘贴命令.仅当我在vsct文件中的自己的CommandGroup中执行Commandplacement时,该参数才可见.
我将projectnode中的allowpastecommand值设置为true.甚至所有QueryStatusCommandOnNode都被设置为Supported | Supported.已启用.我可以像这样控制所有其他命令,例如复制,重命名,删除,但不能控制粘贴命令.我可以控制的奇怪 粘贴命令放在我自己的组中,但未在标准vsstd97中显示.
我什至试图像这样放置一个新的命令.
< CommandPlacement guid ="guidVSStd97"; id ="cmdidPaste";优先级="0x0160&">
< Parent guid =" guidSHLMainMenu" id ="IDM_VS_CTXT_ITEMNODE" />
</CommandPlacement>
我想念东西或遇到同样的问题吗?
最好的问候
Hi,
I am trying to enabling my paste command on my filenode. It's only visible if I do a Commandplacement in my own CommandGroup in the vsct file.
I set the allowpastecommand value in my projectnode to true. And even all QueryStatusCommandOnNode are set to Supported | Enabled. I can control all other commands like copy, rename, delete like this but not the paste command. Its strange that I can control the the paste command when it is placed in my own group but is not showed in the standard vsstd97.
I even tried to make a new command placement like this.
<CommandPlacement guid="guidVSStd97" id="cmdidPaste" priority="0x0160">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE" />
</CommandPlacement>
Do I miss something or had anybody the same problem?
Best Regards
这篇关于在FileNodes/DependentFileNodes上启用粘贴命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!