Porting of C ++ custom controls (porting custom controls designed in other programs to the current system) and Custom Controls
The method is simple: copy the required code to the new system, and add the relevant files to the existing system, and pay special attention to the following question 1 \ If menus or other resources are used in the original design, the corresponding resources should be manually added in the new menu. no other good methods found currently 2 \ if some resource names are repeated, a small amount of source code needs to be modified 3 \ for new resource files that cannot be identified, you can add # include "resource. h "4 \ for the new system, you need to add the header file corresponding to the source code 5 \ in the new system, add a Custom Control, set the Class Name of the Control to the Class name specified in the source file 5 \ Add a variable for the Custom Control in the new system. if this parameter is not added, the program may not run.