Search found 8 matches

by dalshin
Mon Apr 26, 2010 6:49 pm
Forum: ActiveX
Topic: Get actual X,Y values from MapPolygon
Replies: 2
Views: 4913

Re: Get actual X,Y values from MapPolygon

If I have to use ITChartPtr for solving above issue without getting ITChartPtr as an additional parameter of the function.
Then, one more qustion is that how I can approach chart(ITChartPtr) which contain MapSeries or MapPolygon.

Dalshin
by dalshin
Mon Apr 26, 2010 6:18 pm
Forum: ActiveX
Topic: Get actual X,Y values from MapPolygon
Replies: 2
Views: 4913

Get actual X,Y values from MapPolygon

Hi, I created a Polygon for MapSeries using Lat/Long and tried to retrieve X,Y positions of vertex to get extent of polygon. And I generated a function as follows. But the X,Y values using GetX() function gave pixel value rather than actual Lat/Long values. It seems that it is possible if I use ITCh...
by dalshin
Wed Apr 21, 2010 6:49 pm
Forum: ActiveX
Topic: Mouse wheel event
Replies: 1
Views: 4218

Mouse wheel event

Hi,

Is it possible to catch mouse wheel event? If I can, I would like to use this event for zooming in and out rather than scrolling up and down.

dalshin
by dalshin
Fri Mar 19, 2010 6:18 pm
Forum: ActiveX
Topic: Zoom in/out with mouse
Replies: 7
Views: 8829

Re: Zoom in/out with mouse

Yeray, WTL project with a dialog having TChart was basically too big (even including activex ocx). I don't know how to minimize more using zipping or simplify it. But the procedure is so simple that you can create this kind of WTL project easily. In fact, I suspect that TeeChart event in WTL itselt ...
by dalshin
Fri Mar 19, 2010 5:29 pm
Forum: ActiveX
Topic: Zoom in/out with mouse
Replies: 7
Views: 8829

Re: Zoom in/out with mouse

I tried to upload a sample project (~20MB) but could not attach it. So, I tried to directly upload to server but failed.
Is file too big? Any suggestions?

Dalshin
by dalshin
Fri Mar 05, 2010 3:57 pm
Forum: ActiveX
Topic: Zoom in/out with mouse
Replies: 7
Views: 8829

Re: Zoom in/out with mouse

As far as I know, m_p2DChart->Zoom->Enable is TRUE as default. But it seems not in my case. The code which I wrote is m_p2DChart->Zoom->Enable = TRUE; m_p2DChart->Zoom->Direction = tzdBoth; m_p2DChart->Zoom->MouseButton = mbLeft; m_p2DChart->Zoom->Animated = TRUE; m_p2DChart->Zoom->AnimatedSteps = 8...
by dalshin
Wed Feb 24, 2010 6:14 pm
Forum: ActiveX
Topic: Zoom in/out with mouse
Replies: 7
Views: 8829

Zoom in/out with mouse

I am using TeeChart ActiveX v8 in WTL. After instanciating TeeChart, I tried to use mouse to zoom in/out, but nothing happened. So, I set TChart->Zoom->Enable = true, but it did not work. Also for 3D chart, rotating 3D view using mouse did not activate anything. Do I need to add extra mouse events? ...
by dalshin
Wed Feb 24, 2010 6:06 pm
Forum: ActiveX
Topic: Specify Color in ActiveX
Replies: 1
Views: 3688

Specify Color in ActiveX

I would like to specifiy point color as bule. I have used TeeChart VCL and it was 'clBlue' over there. But in ActiveX, I only found 'clTeeColor' and it set color randomly! Any idea to solve this issue?

Thank you

dalshin