1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
void CProjetView::OnInitialUpdate()
{
CView::OnInitialUpdate();
// TODO: Add your specialized code here and/or call the base class
SetTimer(1,10,NULL);
}
void CProjetView::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default
CProjetDoc* pDoc = GetDocument();
pDoc->UpdateAllViews(NULL);
CView::OnTimer(nIDEvent);
}
void CProjetView::OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint)
{
// TODO: Add your specialized code here and/or call the base class
CDC * pDC = GetDC();
} |