yes, that works in a way - but not really convincing.
Here's what I am doing. I am creating a thumbnail on the fly which is part of a panel,here
panel ThumnailForeground
which has per definition the thumbnail.bmp as source.
Although the porgram changes this bmap, it does not affect the panel. So I conclude: There's a necessity of some update. The program read the bitmap buffer and stores - and it does not bother about the changed file.
I tried to work around, but even the following function did not work.
It changes the bitmap - but just one time, that's all.
var tswtich = 0;
function TestThumb()
{
if (tswitch == 0)
{
ThumnailForeground.bmap = thumb2;
tswitch = 1;
}
else
{
tswitch = 0;
ThumnailForeground.bmap = thumb1;
}
Code: