如果文件比大请大侠发到我的信箱里吧4,我的信箱是[email protected],谢谢了,如果有简单的示例或者文章贴在下面也行,实在感谢!
解决方案 »
- vs2005中MFC程序支持Com程序问题
- 求助:打印机驱动程序的编写(VC)
- 工作一年了,感觉有点迷茫,不知道往哪方面发展,希望走过来的人和和我一样的人近来讨论!
- 问大虾:如何用OLE DB动态创建数据库和数据库表
- 如何把一个标准CTreeCtrl中的Item变成一个有激活和正常两种状态的图标?在线等候,高分赠送!
- 如何代码实现启动硬盘上的程序并获得句柄?
- 请教各位哪里能下载《Windows核心编程》和《Windows网络编程》的配书源代码。
- 一个关于带参数的MFC DLL调用的简单问题
- 关于滑动条的问题---想不通
- 菜鸟问题:如何读取并设置256色pcx文件的palette?(内空)
- 无意间按ESC键还是会关闭整个dialog。怎么办?
- 动态创建CTabCtrl失败!急
Question
· How to use TeeChart constants in MS VC++
· Where are descriptions of functions such as GetSeries(), Add() and other similar functions ?
· Changes made at design time with the Chart Editor do not always save.
· How do I add/change text of the Chart Header and Footer at runtime in MS VC++ ?
· Can I obtain any additional examples with use of TeeChart Pro for VC++?
Answer
· How to use TeeChart constants in MS VC++
The constants don't work natively in VC++ but you can create a Constants header file. Follow this link to download a sample TeeChart Constants header file.[ Back to Top ]
· Where are descriptions of functions such as GetSeries(), Add() and other similar functions ?
You can use the Online helpfile for a summary of all Class method and property definitions. A good idea for some pointers is to look at the VC examples too. The VC++ tutorial explains some basic rules for syntax..Visual Basic's: TChart1.Series(0).Add 3, "1st value", clTeeColorbecomes
m_Chart1.GetSeries(0).Add(3,"1st Value",clTeeColor);(assumes you have named TChart as m_Chart1 and included the TeeChartdefines.h file) [ Back to Top ]
· Changes made at design time with the Chart Editor do not always save.
Changing Chart properties at design time.
To change Chart properties at design-time, right mouseclick the Chart on the form and select "Properties" from the menu, then click on the "TeeChart Pro Editor" tab and then the "Edit Chart..." button. Right mouseclicking the Chart on the Form and selecting the 'TeeChart Pro Activex Control' from the menu to display the TeeChart menu will make changes at design-time but these will be lost at run-time.[ Back to Top ]
· How do I add/change text of the Chart Header and Footer at runtime in MS VC++ ?COleVariant var(CString ("MyTitle"));
m_Chart1.GetHeader().GetText().Clear();
m_Chart1.GetHeader().GetText().Add(*(LPCVARIANT)var);or
m_Chart1.GetHeader().GetText().SetItem(0, COleVariant("MyTitle"));
[ Back to Top ]
· Can I obtain any additional examples with use of TeeChart Pro for VC++?
Yes, there are additional examples that you may download by following this link: TeeVCexamples.zip