//0
void CTLOADFormView::OnCheckTopoilT()
{
// TODO: Add your control notification handler code here
m_nDraw[0] = !m_nDraw[0];
GetDlgItem(IDC_STATIC_TLOAD)->Invalidate();
UpdateWindow();
}
//1
void CTLOADFormView::OnCheckOltcT()
{
// TODO: Add your control notification handler code here
m_nDraw[1] = !m_nDraw[1];
GetDlgItem(IDC_STATIC_TLOAD)->GetParent()->Invalidate();
UpdateWindow();
}
Invalidate()函数的应用,
最新推荐文章于 2022-02-16 13:14:32 发布