Porting of C ++ custom controls (porting custom controls designed in other programs to the current system) and Custom Controls

Source: Internet
Author: User

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.

Related Article

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.