Does anyone use MFC?
I have a problem executing graphics functions.
void CMainFrame::OnTimer(UINT idEvent)
{
idEvent++; //when a time event occurs do some
pointG2.y-=3; //graphics
pointG=pointG2;
TimerEvent();
InvalidateRect(NULL, TRUE); //to call OnDraw
}
void Csail_boatView::OnDraw(CDC* pDC)
{
//graphics functions here
//they compile OK
//OnDraw is called by the even timer above
//the graphic funtions fail to work
}
Any thoughts?
Ross