Click here to Skip to main content
15,915,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a map question Pin
ns1-Oct-02 2:26
ns1-Oct-02 2:26 
GeneralCreate array of CArray Pin
ooosawaddee330-Sep-02 7:29
ooosawaddee330-Sep-02 7:29 
GeneralRe: Create array of CArray Pin
jmkhael30-Sep-02 7:30
jmkhael30-Sep-02 7:30 
GeneralCfile and consecutive writes Pin
ns30-Sep-02 7:18
ns30-Sep-02 7:18 
GeneralRe: Cfile and consecutive writes Pin
jmkhael30-Sep-02 7:21
jmkhael30-Sep-02 7:21 
GeneralRe: Cfile and consecutive writes Pin
ns30-Sep-02 7:28
ns30-Sep-02 7:28 
GeneralRe: Cfile and consecutive writes Pin
jmkhael30-Sep-02 7:33
jmkhael30-Sep-02 7:33 
QuestionCan anyone help... Pin
Kash30-Sep-02 7:06
Kash30-Sep-02 7:06 
I am trying to draw an xy scatter graph using MSchart (ActiveX) but there is only documentation for VB. I want to draw a y=x^2 graph. This is what I have but returns an error saying "Index is out of bounds".

m_chart.GetPlot().GetAxis(VtChAxisIdX, v).GetAxisTitle().SetText("x");
m_chart.SetTitleText("Simple graph");
m_chart.SetColumnCount(4);
m_chart.SetRowCount(10);
int x,y;
for(y=0;y<4;y++){
m_chart.SetColumn(y);
for(x=0;x<10;x++){
m_chart.SetRow(x);
int a = x*y;
m_chart.SetColumn(a);
}
}
A small example would be helpful

Any ideas?
AnswerRe: Can anyone help... Pin
gije30-Sep-02 7:30
gije30-Sep-02 7:30 
GeneralRe: Can anyone help... Pin
Kash30-Sep-02 7:29
Kash30-Sep-02 7:29 
AnswerRe: Can anyone help... Pin
jmkhael30-Sep-02 7:54
jmkhael30-Sep-02 7:54 
GeneralRe: Can anyone help... Pin
Kash30-Sep-02 8:11
Kash30-Sep-02 8:11 
Questionhow to disable accelerator key? Pin
bluntagain30-Sep-02 6:28
bluntagain30-Sep-02 6:28 
AnswerRe: how to disable accelerator key? Pin
jmkhael30-Sep-02 6:42
jmkhael30-Sep-02 6:42 
GeneralExporting & using static public data members between dlls Pin
mabotta30-Sep-02 6:24
mabotta30-Sep-02 6:24 
GeneralRe: Exporting & using static public data members between dlls Pin
Paul M Watt30-Sep-02 10:05
mentorPaul M Watt30-Sep-02 10:05 
GeneralRe: Exporting & using static public data members between dlls Pin
mabotta1-Oct-02 6:10
mabotta1-Oct-02 6:10 
GeneralBack tracking error in MFC Pin
Mike Eriksson30-Sep-02 6:12
Mike Eriksson30-Sep-02 6:12 
GeneralRe: Back tracking error in MFC Pin
Phil J Pearson30-Sep-02 6:25
Phil J Pearson30-Sep-02 6:25 
GeneralRe: Back tracking error in MFC Pin
Mike Eriksson30-Sep-02 22:12
Mike Eriksson30-Sep-02 22:12 
GeneralRe: Back tracking error in MFC Pin
Phil J Pearson1-Oct-02 1:03
Phil J Pearson1-Oct-02 1:03 
GeneralRe: Back tracking error in MFC Pin
Michael P Butler30-Sep-02 22:33
Michael P Butler30-Sep-02 22:33 
GeneralA 'new' operator problem: Pin
ns30-Sep-02 6:11
ns30-Sep-02 6:11 
GeneralRe: A 'new' operator problem: Pin
jmkhael30-Sep-02 6:13
jmkhael30-Sep-02 6:13 
GeneralRe: A 'new' operator problem: got it now.. Pin
ns30-Sep-02 6:22
ns30-Sep-02 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.