1. Resources view, the controls inside can be dragged and put in, and then double-click, will automatically generate a click event function in the. cpp file. (in the function can write the corresponding operation code)
At the same time, there will be a mapping function in front of the Dlg.cpp file, and the corresponding function declaration will be generated automatically.
2. The serial port icon needs to right click, add the control serial port variable
3. Right-click on the project file to add a class that will automatically generate the corresponding class name file in the. h,.cpp file
4. In the resource view, click on a control, the lower right corner of the Properties dialog box, you can change the configuration, such as the name of the control, etc.
5. The project cannot be placed under the system disk when it comes to database connection access
6.vs2010 in the connection when the problem, because of the reason for the version replacement, according to the installation of plug-in VS10SP1 on the internet is good
7. When using a class, remember to include the corresponding. h file, otherwise you will get an error.
The data type in 8.MFC is not the same as C + +.
The first PC notes (MFC)--vs2010