void CanvasForm::OnTimer(UINT nIDEvent) 
{
// TODO: Add your message handler code here and/or call default
TRACE("ONTIMER\n");
//MessageBox("hello");
   

CFrameWnd::OnTimer(nIDEvent);

}int CanvasForm::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
return -1;
SetTimer(1,1000,NULL);
MessageBox("hello");
TRACE("SETTIMER");
// TODO: Add your specialized creation code here
return 0;
}