close

fix progress calculation in ProgressWnd.cpp:
method CProgressWnd::SetPos

from :
nPercentage = (nPos*100)/(m_nMaxValue - m_nMinValue);

to:
nPercentage = ((nPos-m_nMinValue)*100)/(m_nMaxValue -
m_nMinValue);

http://www.codeguru.com/cpp/controls/controls/progresscontrols/comments.php/c2293/?thread=15407


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jauming 的頭像
    jauming

    myblog

    jauming 發表在 痞客邦 留言(0) 人氣()