{
AppLog("OnTimerExpired called currStep %d", currStep);
__pProgress->SetValue(currStep);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
UpdateTimeElapsed();
}
}
__pProgress->SetValue(currStep);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
UpdateTimeElapsed();
__pTimer->Cancel();
}
__pProgress->SetValue(currStep);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
UpdateTimeElapsed();
r = __pTimer->Start(TIMER_INTERVAL);
UpdateTimeElapsed();
__pProgress->SetValue(0);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
}
}
}
UpdateTimeElapsed();
__pProgress->SetValue(0);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
AppLog("progress bar value is set to 0");
}
break;
if ( (__pElapsedTimeLable != null) && (__pEndTimeLable != null))
{
__pElapsedTimeLable->SetText(__startTime);
- __pElapsedTimeLable->RequestRedraw();
+ __pElapsedTimeLable->Invalidate(true);
}
}
if ( (__pElapsedTimeLable != null) && (__pEndTimeLable != null) )
{
__pElapsedTimeLable->SetText(elapsedTime);
- __pElapsedTimeLable->RequestRedraw();
+ __pElapsedTimeLable->Invalidate(true);
__pEndTimeLable->SetText(endTime);
- __pEndTimeLable->RequestRedraw();
+ __pEndTimeLable->Invalidate(true);
}
}
EnableFooterItem(IDC_BUTTON_PLAY, true);
__pProgress->SetValue(100);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
SendUserEvent(PLAYER_RESET_TIME_ELAPSED, null);
}
ResetTimeElapsed();
__pProgress->SetValue(0);
- __pProgress->RequestRedraw();
+ __pProgress->Invalidate(false);
//When error occurs , delete the player and construct new (std::nothrow)
if (__pPlayer != null)
TryReturn(pHeader != null, E_FAILURE,"[%s] GetHeader failed", GetErrorMessage(GetLastResult()));
pHeader->SetTitleText(title);
- pHeader->RequestRedraw();
+ pHeader->Invalidate(true);
return E_SUCCESS;
if (__footerActionId[i] == actionId)
{
pFooter->SetItemEnabled(i, enable);
- pFooter->RequestRedraw();
+ pFooter->Invalidate(true);
break;
}
}