vScrollInfo.nMax = commentCountSum;
this->SetScrollInfo(SB_VERT,&vScrollInfo);
- idumpln(TEXT("chatreceve_start"));
+ idumpln(TEXT("chatreceve_start:%d"),GetCurrentThreadId());
commentlist.Lock();
vScrollInfo.nPage = m_commentListWindow.CalcScrolPage();
commentlist.Unlock();
vScrollInfo.fMask = SIF_PAGE;
this->SetScrollInfo(SB_VERT,&vScrollInfo);
m_commentListWindow.Invalidate();
- idumpln(TEXT("chatreceve_end"));
+ idumpln(TEXT("chatreceve_end:%d"),GetCurrentThreadId());
return;
}
VOID CCommentListWindow::OnPaint(HDC hdc){
- ::Sleep(500);
- dumpln(TEXT("CCommentListWindow::OnPaint\8aJ\8en"));
+
+ dumpln(TEXT("CCommentListWindow::OnPaint\8aJ\8enthread:%d"),GetCurrentThreadId());
RECT windowRect;
RECT clientRect;
HDC selfDC = this->BeginPaint(&ps);
::BitBlt(selfDC,0,0,windowRect.right,windowRect.bottom,m_memoryDC,0,0,SRCCOPY);
this->EndPaint(&ps);
- dumpln(TEXT("CCommentListWindow::OnPaint\8fI\97¹"));
+ dumpln(TEXT("CCommentListWindow::OnPaint\8fI\97¹:%d"),GetCurrentThreadId());
return;
}