VC Studio Skills

zhaozj2021-02-08  215

VC6 Skills Daquan (Add Time: 2001-2-22)

OF: Huang Sen Hall (vcmfc) 1. tests in parentheses match move the cursor to the brackets to be detected (e.g., braces {}, brackets [], parentheses (), and angle brackets <>) front type the shortcut "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, and drag the class with similar properties to the corresponding folder, so that the entire view looks clear. 6. Location Pretreatment Specifies to locate the cursor in the source file 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 The LIB is used in space. 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 ", Telling compilation in the current directory. 9. How to press Ctrl F7 in the Debugger status of STUDIO in Workbench. 10. How to deal with the system message that Classziard cannot process WM_NCHITTEST messages in ClassWizard, Please change the Message Filter to Window in the ClassWizard. 11. How to clean a class first from the FileView in Workspace to remove the corresponding .h and .cpp file, then turn off the project, from actual Remove the corresponding .h and .cpp files and .clw files in the folder. 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-2034.html

New Post(0)