//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()函数的应用,
最新推荐文章于 2021-02-24 02:23:40 发布
本博客讨论了CTLOADFormView中针对油位和负载温度的检查与控制功能,涉及用户界面元素的交互和更新。
2370

被折叠的 条评论
为什么被折叠?



