VC6 Common operations

Source: Internet
Author: User

1. Whether the parentheses in the test program match

Move the cursor to the parentheses you want to detect (such as curly braces {}, brackets [], parentheses (), and angle brackets <>), type the shortcut key "Ctrl +]". If the parentheses match correctly, the cursor jumps to the matching brackets or the cursor does not move

And the chassis speaker will also give a warning sound.

2. View macro definitions for a macro (or variable, function)

Move the cursor to a macro you want to know, like the most common declare_map_message click on F12 (or go to defition of ... in the right-click menu), if you do not have a browse files set up, a prompt dialog box will appear, OK, Then you jump to the place where you define those things.

4. The member variable or function cannot be displayed in edit state
Remove the project extension. ncb file and reopen the project.

5, how to organize the ClassView view of a large number of classes
You can right-create a new folder in the ClassView view and drag classes with similar properties to the corresponding folder to make the entire view look clear.

11, how to clean the removal of a class
Delete the corresponding. h and. cpp files from the FileView in workspace, and then close the project to remove the corresponding. h and. cpp files from the actual folder with the. clw file.

12. If you have a console application that supports the MFC class Library
The MFC libraries can be introduced in the console application, but the console application is single-threaded and MFC is multithreaded, in order to resolve this contradiction, in the Project setting->c/c++ option, select Code generation, in the use Select Debug Multithread in the Run-time library drop-down box.

1, (COOL) press the ALT key, click the left mouse button drag, you can select the text block, selectable columns.

F2 Bookmark Features:

F2--Jumps to the next bookmark position

CTRL+F2--Set a bookmark in a row (and then cancel again and again)

ALT+F2 editing and modifying bookmarks (permanent bookmarks)

SHIFT+F2--jumps to the previous bookmark location

CTRL+SHIFT+F2--Delete all bookmarks

VC6 Common operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.