AdvancedHMI Software

General Category => Support Questions => Topic started by: Bashkit on July 27, 2021, 02:33:55 PM

Title: Visual Studio Importing PNGs as Bitmaps
Post by: Bashkit on July 27, 2021, 02:33:55 PM
I have several funky shapes with transparency on my screen, they need to overlap to some degree (overall image file, not the actual shapes). When I import the pictures directly they are converted to bitmaps and lose transparency. When I add them to my project resources and try to use them in my GraphicIndicator they just simply don't get selected. For example the GraphicAllOff value says "none" even after selecting the PNG from resources. Driving me mad >:(
Title: Re: Visual Studio Importing PNGs as Bitmaps
Post by: MajorFault on July 28, 2021, 09:14:40 AM
Stacking and transparency is a nightmare.  I believe you will need to build your own controls to do transparency.  AHMI isn't user friendly when it comes to graphics.  I thought I had a working picture box that did transparency, but I just tested and it doesn't work well at all.  Sorry.