Page 1 of 1
OnScroll format for VC++
Posted: Wed Jan 28, 2004 12:09 pm
by 6924718
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.
Posted: Thu Jan 29, 2004 10:30 am
by Pep
Hi,
the format of the Scroll event is :
Code: Select all
void CScrollEventsDlg::OnOnScrollTchart1()
{
// TODO: Add your control notification handler code here
//.......
}
Posted: Thu Jan 29, 2004 4:24 pm
by 6924718
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
Posted: Fri Jan 30, 2004 12:16 pm
by Chris
Hi -
Do I need anything else?
The following definition works here:
Code: Select all
ON_EVENT(CVCplus6AXv5Dlg, IDC_TCHART1, 24 /* OnScroll */, OnOnScrollTchart1, VTS_NONE)