(my first question!) Can anyone tell me why, in winforms, layered transparent regions lose their transparency and show black in formerly transparent areas?
These forms are shown as a modal dialog that has been launched from a modal dialog. (2 deep) In this application, modal dialogs are shown in a shadow box effect, so the entire screen is covered with a fill of semi-transparent black, then the modal form is shown.
The first modal form has rounded corners. The first modal form displays beautifully. When a second modal dialog is triggered out of the first modal dialog (also with the full transparent black layer and rounded corners) The clientrectangle of the original modal dialog that isn't covered (the square behind rounded corners) turns black.
Can anyone tell me why this is happening, I need to come up with a fix. Thanks!