Transparent OF window losing transparency with setParent


#1

Hi,

I’m working on a transparent OF window in win10. I’m drawing a PNG image in it and all works great until I try to change the parent of the OF window with setParent.

The transparency is lost and the background turns black, I do still see the png, but the background transparency is lost.

I’ve looked into SetLayeredWindowAttributes and the likes, but that’s a little bit over the top for me, so any guidance is really appreciated.

R