Form's caption doesn't refresh when minimized

2006-03-16 03:55:02 PM
Hi all,
I'm using a form, which minimizes to the windows taskbar by having
method overriden:
void __fastcall TDownloadForm::CreateParams(TCreateParams &Params)
Params.ExStyle |= WS_EX_APPWINDOW;
Params.WndParent = GetDesktopWindow();
This form displays the progress of a download procedure, so I'm showing
a percentage
counter on its Caption when responding to the download progress event:
Caption = someName + " - " + IntToStr(percentage) + "%";
The precentage progress is automatically depicted on the windows
taskbar as well.
The problem is that when the form gets minimized, its Caption in
windows taskbar in
never refreshed again!... It "sticks" to the value it had just before
being minimized...
Am I missing something? Can anyone please help me?
Thanks in advance...