nanogui: Why does microwindow (API Win32) display child window first ?


Previous by date: 1 May 2002 16:14:56 -0000 Re: Undefined ref., Greg Haerr
Next by date: 1 May 2002 16:14:56 -0000 sorry I am testing..., kuli
Previous in thread: 1 May 2002 16:14:56 -0000 Why does microwindow (API Win32) display child window first ?, dag4004
Next in thread: 1 May 2002 16:14:56 -0000 Re: Why does microwindow (API Win32) display child window first ?, dag4004.free.fr

Subject: Re: [nanogui] Why does microwindow (API Win32) display child window first ?
From: "Greg Haerr" ####@####.####
Date: 1 May 2002 16:14:56 -0000
Message-Id: <093e01c1f129$f6810bd0$6401a8c0@gregnewport>

> I presently work on transparency in microwindow through the Win32 API.
> I do not understand the redrawing strategy of microwindow.
> When redrawing a window, Microwindow redraw children windows BEFORE mother
> window.

I think that Windows uses the same strategy, so that child
windows appear before the background windows.  Due
to other considerations, we still have to use the clipping
mechanism, since the child windows need to be contained
in their parent.




> - With the current strategy, we are not able to manage transparency quite
> being 100% compliant with the Win32 API.

I'd like to hear more about this.



> If i want to force re-drawing in Z order, how could i do that ?

One of the first functions in mwin/winuser.c traverses the window
list, you can rewrite that.

Regards,

Greg




Previous by date: 1 May 2002 16:14:56 -0000 Re: Undefined ref., Greg Haerr
Next by date: 1 May 2002 16:14:56 -0000 sorry I am testing..., kuli
Previous in thread: 1 May 2002 16:14:56 -0000 Why does microwindow (API Win32) display child window first ?, dag4004
Next in thread: 1 May 2002 16:14:56 -0000 Re: Why does microwindow (API Win32) display child window first ?, dag4004.free.fr


Powered by ezmlm-browse 0.20.