Andrew Fiddian-Green Guest
|
Posted: Tue Apr 25, 2006 11:03 am Post subject: TAnimate.Transparent (sometimes) not working |
|
|
In my application, during long processes, I put up a dialog with a TAnimate
on it.
The animation movie is an AVI that I load from a .RES resource included in
the build.
My AVIs are created with a purple background and I set TAnimate.Transparent
= true. Normally this forces the TAnimate to transform the purple pixels --
at Pixel(1,1) -- into the TForm.Color of the parent window when the control
draws itself. {Note: to be accurate TAnimate.Transparent doesn't actually
make the control transparent, but rather it causes the background to be
drawn so it looks transparent...}
On the majority of my customer's machines (Win XP, 2k, NT, ME etc.) this
works fine. But on one particular machine, the control still draws itself
with a purple background. i.e. the transformation from purple to TForm.Color
does not occur...
The rogue machine is running Win 2k. It is located in Croatia, so I have no
physical access to it, and it makes finding a solution by trial and error
very tedious. => Does anyone have any ideas about why this problem could be
appearing (on only one out of many machines)? And any tips how to solve it?
PS I have a few hypotheses namely: 1) colour palette issues on the rogue
machine; 2) version issues in CommCtl32; 3) something tampering with
(re-mapping) Pixel(1,1) when the resource is loaded...
IMHO although my exe contains a manifest, the issue is not related to themes
because the rogue machine is actually running Win 2k...
PPS I did try googling, and there are some posts, but nothing particularly
helpful came up in the trawl...
Regards,
AndrewFG |
|