Hey all,
I have an interesting issue that i’ve researched a bit, but not sure how to go about doing it.
I have an image saved as a 32-bit .PNG with a transparent background, but in Xojo it shows with a white background no matter what settings I use. See pic:
What’s the best and easier way to get this to display without the white background on Windows 10? Maybe a solution for both Mac and Windows?
Thanks!
[quote=423955:@]How is that overlayed? A control over another control or is it all being painted via a single canvas?
Edit: Can you also link the image?[/quote]
It’s a window with a backdrop and 6 canvases being used for the ‘buttons’. The graphic backdrop has a .PNG transparent alpha channel, so it should be transparent, I think.
[quote=423910:@Jonathan Eisen]1. Copy the whole method into your project.
2. Set the parameters as those specified in the header.
3. Then call that method before showing that window passing the window as an object and a value for the alpha channel.[/quote]
It works, but for the whole window, not just the white background part. Sorta cool though.