Draw PNG with transparent background on window

Within one of our MDL applications, we want to draw a logo on a dialog. This logo is stored in an external PNG file with transparent background.

The logo is loaded by means of mdlImage_readFileToRGB(), resized by means of mdlImage_resize() and drawn with mdlWindow_rgbDataDraw().

Everything works great except for the background: it's black instead of transparent.

Any idea how to get a transparent background?

We use MSCE version 10.16 and corresponding SDK.

Parents Reply Children
No Data