Walter
Thank you for pointing me to the similar example. That is helpful.
However, in order to add a button to the TE, I need to know the
GUID/CommandId pair of the TE toolbar group. Could you tell where I can find
this information?
Thanks!
> Hi Jason,
>
[quoted text clipped - 31 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 07 May 2007 05:58 GMT
Hi Jason,
Yes I'm currently researching on this. Would you please email me directly
so that I can let you know ASAP? Thanks.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Ross Boe - 07 May 2007 16:17 GMT
Walter,
Can you post the answer to the group when you find out? We are working
on a plug in and would like it in the Team Explorer bar as well.
Thank You,
Ross Boe
> Hi Jason,
>
[quoted text clipped - 11 lines]
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
Walter Wang [MSFT] - 08 May 2007 03:11 GMT
Hi,
The toolbar in the Team Explorer toolwindow is defined in the Team
Explorer's .CTC file as follows:
// Team Explorer toolbar
guidELeadPEPackageCmdSet:itbrTeamExplorerToolbar,
guidELeadPEPackageCmdSet:0, 0x000, TOOLWINDOWTOOLBAR,
"Team Explorer";
Where:
#define itbrTeamExplorerToolbar 0x300
DEFINE_GUID(guidELeadPEPackageCmdSet,
0x23d49123, 0x60ac, 0x4d7e, 0x93, 0x9a, 0xe0, 0x1a, 0x4e, 0x17, 0x6b, 0xee);
I believe these information should help to add a custom command to it use
the similar approach in my first reply. Please feel free to let me know if
there's anything unclear.
Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.