BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TAnimate.Transparent (sometimes) not working

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Andrew Fiddian-Green
Guest





PostPosted: Tue Apr 25, 2006 11:03 am    Post subject: TAnimate.Transparent (sometimes) not working Reply with quote



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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.