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

Rafael Teixeira monoman at gmail.com
Mon Jul 23 08:43:57 EDT 2007


I would look at some other MWF control, to see how it is doing things
about transparency, as I think some of them have support for it.

Hope it helps,

On 7/23/07, Ivan N. Zlatev <contact at i-nz.net> wrote:
> Hello,
>
> 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
> programming.
>
> Regards.
>
> [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."
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"I myself am made entirely of flaws, stitched together with good intentions."
Augusten Burroughs


More information about the Mono-winforms-list mailing list