Original Post
I am using Microsoft Visual C++ 6.0 and have made a MDI and I want to display a line on the screen.....I have tried several ways and the all have failed..They compile fine, but, no line...........Please try to help me!!!
I will give you examples of what i tried =
C_____View::Draw(CDC* pDC)
{
.......compiler givin code here..........
pDC->MoveTo(100,200);
pDC->LineTo(200,200);
.......here to............
}
BOOL C____Doc::OnNewDocument()
{
..compiler givin code....
CLine *pLine = new CLine(CPoint(100,200), CPoint(200,200));
m_oaLines.Add(pLine);
return TRUE;
}
Those are just two.. i have tried many more!!!!!
Please help!!!!!!!!!!!!!!!
-----------------------------
-------Mitch Mulholland------
----A.K.A.= TwisteR----------
-----------------------------
Edited by - felisandria on July 31, 2001 11:41:24 AM