How to use the Drawing Control MSChart under VS2010

Source: Internet
Author: User

1. Use Setupmschart.exe to register the mschrt20.ocx with the system;

http://download.csdn.net/detail/xiaowh001/8892147

2. In vs2010, Tool--"SELECT toolbox item--" COM component--"Microsoft Chart Control, version 6.0 OLE DB

3. In the new resource, look in the toolbox to find the control at the bottom.

4. Copy the required header files to the head file directory:

http://download.csdn.net/detail/xiaowh001/8892161

5. You can add a reference to the Cmschart class.

6. Note that the control is currently only available on the Win32 platform, although the x64 platform can be compiled to pass, but will error when creating the window.

7. Specific examples can refer to a usage on the Internet:

http://download.csdn.net/detail/xiaowh001/8892153

How to use the Drawing Control MSChart under VS2010

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.