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

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
 
C

Collin

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?
 
N

nvx

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top