OnScroll format for VC++

TeeChart for ActiveX, COM and ASP
Post Reply
akiva
Newbie
Newbie
Posts: 17
Joined: Fri Nov 15, 2002 12:00 am

OnScroll format for VC++

Post by akiva » Wed Jan 28, 2004 12:09 pm

we are using your Teechart ProActiveX control V5. I would like to know the format of the function OnScroll() which captures the event of the user clicking on the arrows of the x or y axis of the graph to move forward/backward (scroll) he range. This is for Visual C++. I need to know the format of ON_EVENT(GraphicTimePlotChart, IDC_TCHART1, ....) and also the format of the function itself OnScroll(). Thanks in advance.

Pep
Site Admin
Site Admin
Posts: 3273
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Jan 29, 2004 10:30 am

Hi,

the format of the Scroll event is :

Code: Select all

void CScrollEventsDlg::OnOnScrollTchart1() 
{
	// TODO: Add your control notification handler code here
   //.......
}

akiva
Newbie
Newbie
Posts: 17
Joined: Fri Nov 15, 2002 12:00 am

Post by akiva » Thu Jan 29, 2004 4:24 pm

You still haven't mentioned how to capture this event. In other words what is the format of

ON_EVENT(GraphicTimePlotChart, IDC_TCHART1, ...OnOnScrollTchart1 ....)
Do I need anything else?

Thanks,
akiva

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Fri Jan 30, 2004 12:16 pm

Hi -
Do I need anything else?
The following definition works here:

Code: Select all

ON_EVENT(CVCplus6AXv5Dlg, IDC_TCHART1, 24 /* OnScroll */, OnOnScrollTchart1, VTS_NONE)
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Post Reply