1 CRect rc; 2 GetDlgItem(IDC_STATIC_BK)->GetWindowRect(&rc); 3 ScreenToClient(&rc); 4 InvalidateRect(&rc, FALSE);//区域刷新