How to create/set a gui without background?
Re: How to create/set a gui without background?
This is how it would look in case the background was correctly removed, nice edges and transparent background:
There's nothing with moving controls, what I was pointing to is the result of drawing the controls on a GUI and setting it parent to the layered:
The white background (the GUI background) gets merged with the picture.Re: How to create/set a gui without background?
Sorry, your op made it sound like you wanted a rounded window with clean edges and your image had a opaque rounded rectangle not a semi-transparent one.
I don't think I know what you are trying to do other than that.
-
- Posts: 4412
- Joined: 29 Mar 2015, 09:41
- Contact:
Re: How to create/set a gui without background?
I would just create a layered window from the bitmap and an owned window with controls which moves with the owner.
Re: How to create/set a gui without background?
Another thing to try is subclass the controls in order to draw and paint them the way you want- would it help if they were also flagged as layered windows?
Edit: There's a very interesting old thread on WS_EX_COMPOSITED, by the looks of it sure to solve some problems,- bound to uncover more.
Alternatively, re the above graphic in your last post- ditch the layering and go the direct composition way with something like wpf and use WS_EX_NOREDIRECTIONBITMAP, but that, like SetWindowRgn, bricks DWM for the window.
Edit: There's a very interesting old thread on WS_EX_COMPOSITED, by the looks of it sure to solve some problems,- bound to uncover more.
Alternatively, re the above graphic in your last post- ditch the layering and go the direct composition way with something like wpf and use WS_EX_NOREDIRECTIONBITMAP, but that, like SetWindowRgn, bricks DWM for the window.
itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH