User (Legacy) Posted June 24, 2004 Report Share Posted June 24, 2004 Hi all, I'm using the ChartFX Client/Server component and I want to know how can I use the Annotation Extension in Microsoft Visual C++ 6.0. Can someone help me? Thanks Luca Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 24, 2004 Author Report Share Posted June 24, 2004 I just find the answer in the article Q1371016. Using this sample code I resolve my problem. Thanks Luca //--- Code begin --- IAnnListPtr pAnnList; pAnnList.CreateInstance(__uuidof(AnnotationX)); m_pChartFX->AddExtension((IUnknown *)pAnnList); pAnnList->PutToolBar(FALSE); IAnnRectPtr pRect = pAnnList->Add((short)OBJECT_TYPE_RECT); pRect->Width = 50; pRect->Height = 50 pRect->Top = 100; pRect->Left = 100; pRect->Refresh(false); pRect->BkColor = CHART_TRANSPARENT; pRect->AllowModify = FALSE; //--- Code end --- "Luca Oddi" <luca.oddi@integrasistemi.it> ha scritto nel messaggio news:oqZZihdWEHA.3080@webserver3.softwarefx.com... > Hi all, > I'm using the ChartFX Client/Server component and I want to know how can I > use the Annotation Extension in Microsoft Visual C++ 6.0. > > Can someone help me? > Thanks > > Luca > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.