Void CMFCApplication3Dlg: : OnBnClickedButton1 ()//on button of the space response function
{
//TODO: add the control notification handler code
D3line=m_Tchart. Series (0);//d3line defined as: CPoint3DSeries d3line;
//m_Tchart for the associated control variable variable
for (int i=0; I & lt; 100; I++)
{
D3line. AddXYZ (I, I, I, NULL, 0).//draw 100 points at
}
}
Compile no problem, can pass, but press the button on the button tips "can not find members", the MFC is not very understanding, step in after
Not know MFC message processing mechanism, inquired of god what is this error
CodePudding user response:
VC6.0 again the code and vs2013 in completely different, even the header file guide go in a different name ~CodePudding user response:
D3line=m_Tchart. Series (0). Get_asPoint3D ();This is the correct term
CodePudding user response:
Correct about the need to separate, Tee Chart v5 is below this kind of writing, or you will quote members findCSeries d3line_Temp=((CSeries)) m_Tchart. Get_Series (0);
CPoint3DSeries d3line=(CPoint3DSeries) d3line_Temp. Get_asPoint3D ();