1.Progress Control
CProgress m_wndProgress;
m_wndProgress.SetRange(0,100);
m_wndProgress.SetPos (0);
// (2) m_wndProgress.SetStep(1);
for(int i=0;i<100;i++)
{
m_wndProgress.SetPos(i); //equal (1)m_wndProgress.OffsetPos(i); (2) m_wndProgress.SetIt();
::Sleep(50);
}
2.Animation Control
// In the RC file
IDR_FINDFILE AVI "Findfile.avi"
// In the CPP file
m_wndAnimate.Open (IDR_FINDFILE);
m_wndAnimate.Play (0, -1, -1);
m_wndAnimate.Stop();
m_wndAnimate.Close();