Please be aware I did read
this posting.
My problem is the following:
I'm using Plus windows with no titlebar, using XML like this:
code:
<Window Id="WndMain" Version="1">
<Attributes>
<ShowInTaskbar>true</ShowInTaskbar>
<Caption>Chatflash.nl Video Search</Caption>
<SetForeground>true</SetForeground>
</Attributes>
<TitleBar>
<AllowMinimize>false</AllowMinimize>
<AllowClose>false</AllowClose>
</TitleBar>
<Position Width="310" Height="370"/>
<!-- etc, Elements, Controls, /Window -->
The window shows fine, looks like this:
Then, at some point later, I'm using JS code to change the title displayed in the system taskbar, using JS like this:
code:
Interop.Call("user32", "SetWindowTextW", wndMain.Handle, strSomeNewTitle);
The taskbar button changes accordingly:
But the displayed window gets corrupt.
And all this on
Windows XP Service Pack 2 (5.1.2600)
Windows Live Messenger 8.5.1018
Messenger Plus! Live 4.50.0.312.
Any reason, solution in sight?
Thanks for your help,