[Mono-winforms-list] Transparent Control on X11?

Ivan N. Zlatev contact at i-nz.net
Mon Jul 23 05:58:12 EDT 2007


As part of the requirements for implementing the
System.Windows.Forms.Design.Behavior (for the winforms designer GSoC)
namespace I will have to implement a Control with a transparent
background to act as a transparent layer on top of the design surface.
Some custom drawing will take place in the foreground.

While this works on win32 with the use of the WS_EX_TRANSPARENT [1]
CreateParam, this is not supported by the X11 backend. I had a bug
filed [2] a few months ago, but I do understand implementing support
for transparency is not in the list of high priority items.

Is there a way to P/Invoke into something from the X libraries in
order to achieve the effect of WS_EX_TRANSPARENT on X? A small example
will be very appreciated as I don't have any experience in X


[1] http://support.microsoft.com/kb/92526
[2] http://bugzilla.ximian.com/show_bug.cgi?id=81135

Ivan N. Zlatev

Web: http://www.i-nZ.net
"It's all some kind of whacked out conspiracy."

More information about the Mono-winforms-list mailing list