(E-Mail Removed) wrote in
news:16be7d66-c2cc-4717-9b7c-(E-Mail Removed):
> I have done that. But the title bar of the "sub window" does NOT
> redraw automatically. It is still "file 1". If I close and re-open
> the "sub window", "file 2" is shown in title bar
>
> Any clue?
>
In the sub window class call this after changing the text.
this.Invalidate(rectangle);
The rectangle should contain the coords for the title bar only... you don't
want to redraw the whole form (or you may see some flicker).
R