19,468
社区成员
发帖
与我相关
我的任务
分享
//
// Reset the view.
//
POSITION pos = GetFirstViewPosition();
while( pos != NULL )
{
CFlyCaptureSdiView* pView = (CFlyCaptureSdiView*)GetNextView( pos );
InvalidateRect( pView->GetSafeHwnd(), NULL, FALSE );
}
HWND hwnd = ::FindWindow("相机采集窗口", NULL);
CRect rect;
GetClientRect(hwnd,&rect);
InvalidateRect(hwnd,rect,FALSE);