This commit is contained in:
Igor Pavlov
2005-05-30 00:00:00 +00:00
committed by Kornel Lesiński
parent 8c1b5c7b7e
commit 3c510ba80b
926 changed files with 40559 additions and 23519 deletions

View File

@@ -61,7 +61,7 @@ void CProgressDialog::OnCancel()
void CProgressDialog::SetRange(UINT64 range)
{
_range = range;
_peviousPos = _UI64_MAX;
_peviousPos = (UInt64)(Int64)-1;
_converter.Init(range);
m_ProgressBar.SetRange32(0 , _converter.Count(range)); // Test it for 100%
}
@@ -99,7 +99,7 @@ bool CProgressDialog::OnTimer(WPARAM timerID, LPARAM callback)
if (percentValue != _prevPercentValue)
{
wchar_t s[64];
ConvertUINT64ToString(percentValue, s);
ConvertUInt64ToString(percentValue, s);
UString title = s;
title += L"% ";
SetText(title + _title);