INFO: Customizing the Visual C++ IDE Programmatically (246970)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q246970

SUMMARY

There are no methods available for customizing or modifying the Visual C++ Integrated Development Environment (IDE) programmatically. The Developer Studio object model provides methods to automate tasks in Visual C++, but it doesn't provide methods to modify the Visual C++ IDE. So, you cannot add menu commands, toolbars, and so forth to the Visual C++ IDE programmatically.

An add-in created for Visual C++ using either Visual C++ or Microsoft Visual Basic can create and display a toolbar with toolbar buttons in the Visual C++ IDE using the Application.AddCommandBarButton method. This is the only method that the Visual C++ object model provides for displaying a toolbar control within the IDE programmatically. For further information on add-ins, see the following Microsoft Web pages:

REFERENCES

For more information on the Developer Studio object model, see the following topics in the MSDN Online library:

Modification Type:MajorLast Reviewed:12/8/2003
Keywords:kbAutomation kbDevStudio kbide kbinfo kbVCObj KB246970