How do I add a button to an existing group on the code context window?

55 Views Asked by At

I'd like to place a command button directly underneath the View Call Hierarchy button on the context window.

I've only been able to add a button at the very bottom of the entire menu using IDM_VS_CTXT_CODEWIN.

Is it even possible?

enter image description here

1

There are 1 best solutions below

1
Sergey Vlasov On BEST ANSWER

Theoretically, the menu item position is controlled by the Button priority attribute. And you can find other button priorities using the Command Explorer extension. But I didn't try it myself.