[Mono-winforms-list] Transparency Problem

Stefano Del Furia delfo at edudotnet.it
Tue Apr 6 14:12:15 EDT 2010


Hi,  
and thanks for the reply.
What configuration must we use for getting this to works ??
 
If we use this line:
 
this.Opacity = 0.5;

all works fine, but if i use this other one:
 
this.TransparencyKey = SystemColors.Control;
 
The window is not transparent.
Thanks in advance.
Stefano


-----Original Message-----
From: Carlos Alberto Cortez <calberto.cortez at gmail.com>
To: Natalia Portillo <claunia at claunia.com>
Cc: "mono-winforms-list at lists.ximian.com" 
<mono-winforms-list at lists.ximian.com>
Date: Tue, 6 Apr 2010 19:58:13 +0200
Subject: Re: [Mono-winforms-list] Transparency Problem

Hey,

On my machine (openSuse 11.1) using 2.4/2.6 series it works fine. Basically 
our code tries to detect a property in the window manager to detect whether 
there's transparency support or not. So it should work *at least* in Linux.

Could you elaborate more so we can try to figure out what's happening? 

Carlos.


2010/4/3 Natalia Portillo <claunia at claunia.com>

I had the same problem. 


Tried in Mac OS X (both Carbon and X11), no success. Of course both Carbon 
and X11 do support transparency, overlays and OpenGL (AGL and XGL 
respectively).
Tried in Linux, no success. KDE4 transparencies and effects are working. The 
X.Org configuration file contains the values indicated by Mono 
documentation.


I found no solution at all.


El 03/04/2010, a las 14:13, Tommi Laukkanen escribió:


Hi 


I think X-window also has some options which affect the transparency 
support. You might need to enable transparency supporting window manager / 
theme to be able to use transparencies.


-tommi


On Sat, Apr 3, 2010 at 3:39 PM, Stefano Del Furia <delfo at edudotnet.it> 
wrote:

HI, 
i have found that the Opacity works if the graphic card support 3d 
acceleration, but i haven'r find any way of getting TransparencyKey to 
works.
Is this feature has been implemented in Winforms or not ??
Thanks in advance
Stefano
 

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list




_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list




_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100406/df8c35c3/attachment.html 


More information about the Mono-winforms-list mailing list