I am implementing something called GlassPanel in Java, except I am using C#.
The purpose of a GlassPanel is usually to draw lines that link the controls laid out on the main panel below the GlassPanel.
I have done everything fine until the last step, where I draw lines on the top level glass panel (a transparent panel) and have the lines show up above the controls behind it. the lines do show up on top of controls that are peers to the transparent panel (same containing parent window). but when the peer control has its own child controls, these child controls cover up the lines.
This must be because the z-order of the transparent panel is not preserved by these child controls. Each parent window maintain their own z-order stack.
How do I set the relative z-order for windows who do not share the same parent window.
I have already tried the SetWindowPos call from User32.dll. so that is not the answer.