VC ++ Studio Skills

xiaoxiao2021-03-06  43

VC Studio uses tips 1. Do not move the parentheses in the progranu to move the cursor to the parentheses that need to be detected (such as parentheses {}, square bracket [], parentheses () and angle brackets <>), type shortcuts "Ctrl ]. If the parentheses match the correct, the cursor jumps to the matching parentheses, otherwise the cursor does not move, and the chassis speaker will also send a warning. 2. View a macro definition of a macro (or variable, function) to move the cursor to a macro you want to know, just like the most common declare_map_message, press F12 (or right Menu Go to Defition of ...), If Browse file is not created, a prompt dialog appears, determine, and then jump to the place where you define those things. 3. Format a mess-of-eight source code to select the source code, press ATL F8. 4. Find members variables or functions in editing states cannot display the deletion of the project extension as a .ncb file, reopen the project. 5. How to organize a large number of classes in the ClassView view, right-click New Folder in the ClassView view, and drag the class with similar properties to the corresponding folder, so that the entire view looks clear. 6. Positioning Prerequisit Specifies to locate the cursor to the symmetrical #IF, #ENDIF, use Ctrl K. 7. How to add system lib to the current project in Project | Settings | Link | Object / library modules: Enter the lib name, different LIBs with spaces. 8. How to add the header file (.h) in the system to the current project. #Include , tell the compile to the VC system directory to find; use #include "filename.h", tell the compile to find it in the current directory. 9. How to press Ctrl F7.10 in the debugger status of Studio in Workbench. How to deal with the system message that Classziard can notwork, if you want to process WM_NCHITTEST messages in ClassWizard, please in Class Info in ClassWizard Message filter is changed to Window. 11. How to clean a class first from the FileView in Workspace, remove the corresponding .h and .cpp file, then turn off the project, remove the corresponding .h and .cpp files from the correct .h and .cpp file from the actual folder. CLW file. 12. If the console application supports the MFC class library to introduce the MFC library in the console application, but the console application is a single thread, the MFC is multi-thread, in order to solve the contradiction, in Project Setting-> C / C option, select Code Generation, select Debug Multithread in the USE Run-Time Library drop-down box. 13. How to use the executable code .EXE file Using VC Open file in NT, open the * .exe file directly in the resources method, directly modify the resource file, and save it. Attached: VC project file description .opT project on the development environment parameter file.

转载请注明原文地址:https://www.9cbs.com/read-67469.html

New Post(0)