❔ Creating a transparent form with fully visible (100% opacity) controls like panels
Title, I'm trying to make a GUI in WinForms using .NET 4.8 and can't find a viable solution to do this...
13 Replies
made a super quick visualization, i added a poorly made checkbox and the black outline would be made as panels
may have made the "form background" a little too opaque, but it's a translucent black color
Are you making some kind of game overlay?
obligatory recommendation to not use WinForms
especially if you want custom visuals
You'll fight winforms every step of the way here
no, just want the look of the form to be translucent
Then you better stop using WinForms because its support for transparency is notoriously bad.
feared for this
i suppose it's better to learn wpf then
That's the least you should learn
Because all modern GUI frameworks are XAML-based
And they all use DirectX natively, which means transparency works exactly the way you expect it to work.
aight
again, to be clear, you do NOT have to actually use XAML with WPF
if it's more comfortable for you to just write plain C# initially, by all means
do that enough, and I think a natural appreciation for the benefits of XAML will evolve
anyway if you want panels why don't adopt the mdi way
or just make a form per panel
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.