c# - Transparent Panel on top of another normal panel -


I want to show a transparent panel at the top of another panel, label control of both panels, labels, text boxes etc. There are controls. Transparency works fine if the transparent panel is the hair control of the other panel, but if not the normal panel labels and text boxes appear at the top of the transparent panel. The transparency of the remaining area works fine

Any ideas ???

I tried to bring a transparent panel in front but did not help. Maybe I need to specify the order in which control should be ?? If so, how can I do this?

Interestingly, if I move the application under the work bar and bring it up. It gets the right result (reinvesting resolves this issue !! But why ??) But when I reduce it and restore it, then it does not get better!

Thank you,

Transparency in Windows. Instead of visual hierarchy, the relational hierarchy is implemented. When a transparent control is painted, then .NET basically tells the parent tree that to paint themselves by the control of each parent, then paint the actual control material itself.

Two brothers in one control will paint on each other.

To answer the question, the top panel / control requires a child of that control that you want to paint on top.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -