TeeListControl SetChart
Posted: Mon Mar 09, 2009 12:01 am
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?
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
LPUNKNOWN pUnk = m_Chart.GetControlUnknown();
LPDISPATCH pDisp = NULL;
pUnk->QueryInterface(IID_IDispatch, (void**) &pDisp);