Porting problems with C + + custom controls _c language

Source: Internet
Author: User

The simple approach is to copy the required code into the new system by adding the relevant files to the existing system and paying special attention to the following issues

1\ if a menu or other resource is used in the original design, the corresponding resource should be added manually in the new menu. There are no other good ways to find out.

2\ If some resource names are duplicated, you need a small amount of source code to modify

3\ You can add #include "resource.h" to a source file for a new resource file that is not recognized

4\ for the new system, you need to add the source code corresponding to the header file

5\ in the new system, add a Custom controls control and set the class name of the control to the name of the class specified in the source file

6\ in the new system, add a variable for the Custom control controls. If not added, the program may not run

The above mentioned is the entire content of this article, I hope you can enjoy.

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.