Microsoft KB Archive/313981

= Questions about the Visual C++ IDE =

Article ID: 313981

Article Last Modified on 1/16/2006

-

APPLIES TO


 * Microsoft Visual C++ .NET 2002 Standard Edition
 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ 2005 Express Edition

-



This article was previously published under Q313981



SUMMARY
This article uses frequently asked questions (FAQs) to provide information about the new features of the Visual C++ integrated development environment (IDE).



MORE INFORMATION
Q1: Why doVisual Studio .NET and Visual Studio 2005 display the Start Page when I start the program?

A1: The Visual Studio .NET and Visual Studio 2005 Start Pages provide easy access to many useful resources, including new product information and links to several newsgroups.

Q2: How do I get the &quot;old&quot; (version 6) Visual C++ look in the new Visual Studio .NET environment?

A2: Click the My Profile link on the Start Page. Under Profile, click to select Visual C++ Developer from the drop-down list box. Under Window Layout, click to select Visual C++ 6. This process will provide you with the Visual C++ 6.0 appearance in the Visual Studio .NET environment.

Q3: How do I customize the Start Page in Visual Studio .NET?

A3: Use the At Startup option on the Start Page to create a customized Start Page. Select one of the choices for the customization desired; for example, Load last loaded solution, Show Open Project dialog box, Show New Project dialog box, or Show empty environment.

Q4: How do I access the Start Page when it is closed in Visual Studio .NET?

A4: To cause the Start Page to appear, click Show Start Page on the Help menu.

Q5: How do I turn off the task list in Visual Studio .NET?

A5: On the Tools menu, click Options, in the Environment folder of the Options dialog box, click to select Projects and Solutions, and then click to clear the Show Tasklist window if build finishes with errors check box.

Q6: How do I customize keyboard shortcuts in Visual Studio .NET and in Visual Studio 2005?

A6: On the Tools menu, click Options. Open the Environment folder, select Keyboard, and then select the action for which a shortcut is needed. In the Press Shortcut key(s) box, type the shortcut and click Assign. For example, if the shortcut key combination &quot;CTRL+B&quot; is needed for &quot;rebuild all,&quot; in the Show commands containing box, type BUILD.BUILDSOLUTION or select this command from the list. Then, in the Press Shortcut key(s) box, type the key (action). In this case, hold down the CTRL key and press B. Click Assign to assign the shortcut, CTRL+B, for the action BUILD.BUILDSOLUTION. Note that this action overrides any previous shortcuts.

Q7: Where is ClassWizard in Visual Studio .NET and in Visual Studio 2005?

A7: In Microsoft Visual Studio version 6.0, ClassWizard allows you to add messages, overrides, and events in addition to classes. Visual Studio .NET and Visual Studio 2005 donot have ClassWizard. Instead, an Add Class dialog box provides some of this functionality. The rest of the Visual Studio 6.0 ClassWizard functionality is provided through the property grid (discussed in questions 10 through 12).

Q8: How do I add a class to a project in Visual Studio .NET and in Visual Studio 2005?

A8: Right-click the project name in Solution Explorer, click Add on the shortcut menu, and then click Add Class. In the Add Class dialog box, select the type of class that you want to add, and then click Open

Note In Visual Studio 2005, click Add..

Q9: How do I add a function to a class in Visual Studio .NET and in Visual Studio 2005?

A9: In Class View, right-click the class name to which you want to add the function. Point to Add on the shortcut menu, and then click Add Function. The Add Member Function Wizard starts.

Q10: How do I override a base class method in Visual Studio .NET and in Visual Studio 2005?

A10: To override a base class method, do the following:

If the Properties window is displayed, select the class in Class View. In the Properties window toolbar, click Overrides. Select the method that you want to override.

If the Properties window is not displayed, click Properties Window on the View menu. Or, select and right-click the class, and then click Properties.

Q11: How do I add a message handler in Visual Studio .NET and in Visual Studio 2005?

A11: In the Properties window toolbar, click the Messages button and then select the message for which you want to add a handler. From the drop-down list box, select Add  to add the message handler selected.

Q12: How do I add an event handler in Visual Studio .NET and in Visual Studio 2005?

A12: In the Properties window toolbar, click the Events button. Click the plus sign (+) to expand the object for which you want to add an event handler. Select the desired event, and then from the drop-down list box, select Add .

