OSDN Git Service

2011/12/29 22:40:16
authorqwerty2501 <riot313@gmail.com>
Thu, 29 Dec 2011 13:40:16 +0000 (22:40 +0900)
committerqwerty2501 <riot313@gmail.com>
Thu, 29 Dec 2011 13:40:16 +0000 (22:40 +0900)
nlite.suo
nlite/nlite_commentview.cpp

index 12574eb..6aed86c 100644 (file)
Binary files a/nlite.suo and b/nlite.suo differ
index 184fdf2..0e0260e 100644 (file)
@@ -34,6 +34,8 @@ VOID CCommentView::OnHeaderTrack(){
 
        Lock();
 
+       listBox.ShowWindow(SW_HIDE);
+
        UINT_PTR commentCount = commentlist.Size();
        listBox.ResetContent();
        for(UINT_PTR index =0;index < commentCount;index++){
@@ -42,9 +44,11 @@ VOID CCommentView::OnHeaderTrack(){
 
        }
 
+       listBox.ShowWindow(SW_SHOW);
+
        Unlock();
 
-       listBox.InvalidateRect(NULL,TRUE);
+       //listBox.InvalidateRect(NULL,TRUE);
 
        
 
@@ -74,7 +78,7 @@ VOID CCommentView::OnDrawList(LPDRAWITEMSTRUCT lpDrawItemStruct){
 
 
 
-       Lock();
+       //Lock();
 
        RECT noViewRect;
        RECT userNameViewRect;
@@ -167,7 +171,7 @@ VOID CCommentView::OnDrawList(LPDRAWITEMSTRUCT lpDrawItemStruct){
        ::DrawText(lpDrawItemStruct->hDC,dateString,_tcslen(dateString),&timeViewRect,DT_WORD_ELLIPSIS);
 
                
-       Unlock();
+       //Unlock();