Static Control Transparent Background?

Is there a way to set the background of a static control to transparent. My use case would be to overlay text onto an image displayed in a dialog using DOpus.LoadImage. A similar question was asked back in 2017. The short answer then was..

That is not easy to do in Windows with standard controls

Has anything changed or is that still the case?

It may be easier with statics than with the list controls that other thread was about. Not sure, though.

How are you adding the background image to the dialog?

staticCtrl.label = DOpus.Loadimage(imageItem);

I would like to be able to define an overlaying static control with a transparent background that I could use to add descriptive text. The current alternative is to use a non overlaid control which means I need a larger dialog.

I dont think there's an easy way yet, the solution might be for us to add a way to overlay text directly on image statics (since we control how they're drawn).

We've added a way to add overlay text to an image-mode static control in 13.9.4.