1. XPM and transparency

--part1_f6.26b00fb6.2b490574_boundary

Season greetings to all,
Anyone know if it is possible to set transparent colours to a xpm graphic

Thanks
Tony Steward

--part1_f6.26b00fb6.2b490574_boundary

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2 FAMILY="SANSSERIF" FACE="Arial"
LANG="0">Season greetings to all,<BR>
Anyone know if it is possible to set transparent colours to a xpm graphic<BR>
<BR>
Thanks<BR>

--part1_f6.26b00fb6.2b490574_boundary--

new topic     » topic index » view message » categorize

2. Re: XPM and transparency

On Sat, 4 Jan 2003 22:50:12 EST, Tony Steward <lockmaster67 at aol.com>
wrote:

>Anyone know if it is possible to set transparent colours to a xpm =
graphic

I think you need to display using transBlt (win32lib). If you run into
problems, post some sample code & I'll try to help

Pete

new topic     » goto parent     » topic index » view message » categorize

3. Re: XPM and transparency

Yes pete is right but transblt relies on the transparent color used by
win3lib. So. look at the Xpm and obtain its transparent color then

setTransparentColor()
transblt()
then it will work

Jordah
----- Original Message -----
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: Re: XPM and transparency



On Sat, 4 Jan 2003 22:50:12 EST, Tony Steward <lockmaster67 at aol.com>
wrote:

>Anyone know if it is possible to set transparent colours to a xpm graphic

I think you need to display using transBlt (win32lib). If you run into
problems, post some sample code & I'll try to help

Pete

==^^===============================================================
This email was sent to: jordah at btopenworld.com


TOPICA - Start your own email discussion group. FREE!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu