August 2010
Intermediate to advanced
1224 pages
34h 17m
English
The Connect class already has the basic add-in code; now it’s time to revisit that code and add the custom code to drive the user control. The add-in should integrate seamlessly into the development environment, so you can use a tool window to display the user control that you previously created.
Harking back to the discussions of the automation object model, you know that the Windows2 collection has a CreateToolWindow2 method, which allows you to create your own custom tool windows.
Prior versions of Visual Studio required you to create a shim control (using C++) that would host a control for display in a tool window. The tool window, in turn, would then host the shim. With Visual Studio 2005 and beyond (and ...