紧接着初始化变量
VERIFY(m_font.CreatePointFont(220, "Arial Black"));
m_Text = "_____________hi____________________" "this is www.gkbc8.com demo for static."
"you can use the code any time any where ________________________________"
m_Slider.SetRange(-10, 10);
m_Slider.SetPos(6);
m_Slider.SetLineSize(1);
m_Slider.SetPageSize(5);
m_Static.SetText(m_Text);
m_Static.SetFont(&m_font);
m_Static.SetSinusSpeed(6);
m_Static.Start();
UpdateData(false);