Search found 3 matches

by cook
Tue Dec 07, 2004 2:47 pm
Forum: ActiveX
Topic: Annotation tool with WinXP SP2 problem
Replies: 1
Views: 5261

Annotation tool with WinXP SP2 problem

Hi

I have multiline text annotation tool. To separate lines I used '\n\r' in my C++ code. It works fine on WinXP SP1, Win2k, but on WinXP SP2 the text is corrupted. Nonprintable characters are displayed, and all text is written on one line.

What might be the problem and what can I do?

Thanks
by cook
Tue Nov 30, 2004 3:54 pm
Forum: ActiveX
Topic: ColorGridSeries::AddArrayGrid
Replies: 2
Views: 5108

I use ActiveX version of TChart from MS Visual C++ (MFC) application and method for adding values from array is declared as: void AddArrayGrid(long NumX, long NumZ, const VARIANT& XZArray); what data type should be passed as a 3rd parameter in this call and how should i do type cast my array of doub...
by cook
Tue Nov 30, 2004 7:07 am
Forum: ActiveX
Topic: ColorGridSeries::AddArrayGrid
Replies: 2
Views: 5108

ColorGridSeries::AddArrayGrid

Hi, I have this code: int i = 0; int sx, sy; double * buf = new double[nx*ny]; ... for(int y=0; y<ny; ++y) { for(int x=0; x<nx; ++x,++i) { m_SeriesGrid.GetAsColorGrid().AddXYZ( (double)(x+sx), buf , (double)(y+sy), "", my_palette.GetColor( buf )); } } My question: how i can use method AddArrayGrid (...