Application title in taskbar does not change (C#2.0)

  • Thread starter Thread starter nvx
  • Start date Start date
N

nvx

Hello everyone,
sometimes it happens that when I change the application main form's
title by

this.Text = "A new title";

it does not get changed on the "button" in the taskbar. However,
usually
it works fine...

Does anyone have any idea what might cause it?

Thanks in advance.

nvx
 
Hello everyone,
sometimes it happens that when I change the application main form's
title by

this.Text = "A new title";

it does not get changed on the "button" in the taskbar. However,
usually
it works fine...

Does anyone have any idea what might cause it?

Thanks in advance.

nvx

Quick question. Is your application multi-threaded? Are you updating
the main title bar from a thread you create?
 
Dear Collin,
thank you for your reply and I'm sorry for that delay. I was out of
the civilization... ;)

No, it is single-threaded, which, I believe, causes the trouble. When
the thread is busy, the GUI probably does not get updated. I think
making the application multi-threaded might help, but this would be a
time-consuming task... I'm afraid I will have to let it be as it is.

Anyway, thanks for your interest.

Best regards,
nvx
 
Back
Top