zxd
2023-09-20 ad1b4b8c22b019d300af6d053e120fc830512ebd
MyLib/LOGGER/Logger.hpp
@@ -551,8 +551,8 @@
         j=m_pRichLogWnd->LineIndex(i-1);
         m_pRichLogWnd->SetSel(j,j);
         k=m_pRichLogWnd->LineIndex(-1)+m_pLogWnd->LineLength(-1);
         m_pRichLogWnd->SetSel(k,k);
//         k=m_pRichLogWnd->LineIndex(-1)+m_pLogWnd->LineLength(-1);
//         m_pRichLogWnd->SetSel(k,k);
         m_pRichLogWnd->ReplaceSel(strChangedLog[channel]);
         line2=m_pRichLogWnd->GetFirstVisibleLine();
@@ -562,6 +562,7 @@
         {
            m_pRichLogWnd->LineScroll(line1-line2);
         }
         m_pRichLogWnd->PostMessage(WM_VSCROLL, SB_BOTTOM, 0);
      }
      strChangedLog[channel].Empty();