Hi,
I am currently using an instance of ITChart in an ATL control.
Everything works fine, excepts that mouse events won't get through
TChart and I am not able to trap them in my control.
How can I do that.
I first try to advise ITChart by deriving my ATL control from :
IDispEventImpl<1, ARTCurveViewer, &__uuidof(TeeChart::ITChartEvents), &__uuidof(TeeChart::__TeeChart), 1, 0>
Then I created a sink map:
BEGIN_SINK_MAP(ARTCurveViewer)
SINK_ENTRY_EX(1, __uuidof(TeeChart::ITChartEvents), 19, OnTChartMouseDown)
END_SINK_MAP()
And finally, I used DispEventAdvise(...) with the IUnknown interface
of my ITChart instance to advise it. However, DispEventAdvise always
returns error code -2147220990 (0x80040203), which I could not find
the definition.
Am I doing it the right way. If so, what is going wrong? It not, how is
the right way?
Thank you very much.
TChart in ATL Control - How to trap mouse events?
Hi,
please see the answer to the same problem (which also includes and example) on our newsgroups :
public.teechart5.activex on Tue, 9 Mar 2004.
If you cannot find it let me know and I'll post the example in the steema.public.attachments newsgroup.
please see the answer to the same problem (which also includes and example) on our newsgroups :
public.teechart5.activex on Tue, 9 Mar 2004.
If you cannot find it let me know and I'll post the example in the steema.public.attachments newsgroup.
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi MAtheu,
I've post it in the steema.public.attachments newsgroup. If you still having problems let me know any mail account to which I can send it.Is there another way to get it?
Pep Jorge
http://support.steema.com
http://support.steema.com
Thank you, but I just can't seem to open it.
Could you send it to the fallowing email please:
[email protected]
Thank you very much.
Could you send it to the fallowing email please:
[email protected]
Thank you very much.