TeeListControl SetChart
TeeListControl SetChart
In MFC/C++ with AX v8, how do I get the LPDISPATCH from my TChart member variable (CTChart m_Chart) to pass to the CTeeListBox SetChart function?
Is this right?
Is this right?
Code: Select all
LPUNKNOWN pUnk = m_Chart.GetControlUnknown();
LPDISPATCH pDisp = NULL;
pUnk->QueryInterface(IID_IDispatch, (void**) &pDisp);
It worked!
So I guess it must be right!
Thanks anyway!
Thanks anyway!