Microsoft KB Archive/246970

From BetaArchive Wiki
Knowledge Base


INFO: Customizing the Visual C++ IDE Programmatically

Article ID: 246970

Article Last Modified on 10/25/2006



APPLIES TO

  • Microsoft Visual C++ 5.0 Enterprise Edition
  • Microsoft Visual C++ 6.0 Enterprise Edition
  • Microsoft Visual C++ 5.0 Professional Edition
  • Microsoft Visual C++ 6.0 Professional Edition
  • Microsoft Visual C++ 6.0 Standard Edition



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:

Keywords: kbautomation kbdevstudio kbide kbinfo kbvcobj KB246970