[Mono-winforms-list] WS_EX_TRANSPARENT in X11 backend implementation trouble
Ivan N. Zlatev
contact at i-nz.net
Tue Mar 13 21:41:10 EDT 2007
For future references I have filed a bug -
On 3/13/07, Ivan N. Zlatev <contact at i-nz.net> wrote:
> I went on hacking up a small patch to implement WS_EX_TRANSPARENT in
> the X11 backend. What should happen when this style/flag is set is
> that transparency for the control is simulated. When the transparent
> control is going to receive WM_PAINT, first its container and other
> controls will be send a WM_PAINT before the transparent control get
> its. This behaviour is in Windows itself, so it works with the Win32
> xplatui backend and is not Control.cs specific.
> The issue with the patch is that even though the order of repaints is
> changed I still get black rectangle where the control should be. May
> be you can help me out on this one?
> I have attached a test-case to CWL wm_paint order for you and the patch.
> P.S: One thing I've notices is that zorder when adding initially
> controls in x11 is reversed opposed to win32. A bug? (you will have to
> swap the below and above controls for proper result wth the testcase
> on win32)
> P.S2: The patch can be optimized, etc etc.
> Ivan N. Zlatev
> Web: http://www.i-nZ.net
> "It's all some kind of whacked out conspiracy."
Ivan N. Zlatev
"It's all some kind of whacked out conspiracy."
More information about the Mono-winforms-list