Page 1 of 1

Missing constant in TeeChartDefines.h

Posted: Wed Jan 18, 2012 9:22 am
by 9531301
Hi,
I am using TeeChart 2011.0.0.5 ActiveX. I feel TeeChartDefines.h doesn't content all the values to configure a chart, as it can be done by the TeeChart Editor. For example, I am looking to change the General/Mouse/Wheel/Scroll Axes property to None [possible values are Normal (default)/None/Inverted]. I didn't find these values in TeeChartDefines.h. Are they located somewhere else?
BR/
Pascal

Re: Missing constant in TeeChartDefines.h

Posted: Wed Jan 18, 2012 4:20 pm
by yeray
Hi Pascal,

You are right. I've added the following to the TeeChartDefines.h for the next release.

Code: Select all

// EPanMouseWheel
const unsigned long pmwNormal = 0;
const unsigned long pmwInverted = 1;
const unsigned long pmwNone = 2;

Re: Missing constant in TeeChartDefines.h

Posted: Wed Jan 18, 2012 4:25 pm
by 9531301
Dear Yeray,

This is exactly what I needed. Thank you !

Regards,
Pascal

Re: Missing constant in TeeChartDefines.h

Posted: Thu Jan 19, 2012 9:15 am
by yeray
You are welcome, Pascal. :D