I have been trying to use a transparent PNG in my gui.
It seemed that I had it working fine. But I notice that if another windows gains focus over my gui that my PNG will dissapear. I did find a support thread on the forum that seemed like it would help here:
http://www.autoitscript.com/forum/topic/70664-set-png-image-to-pic/
But it does not work correctly either. When the PNG is first loaded with that code it loads the png in... but it is not at the desired location on the gui. Then if I right click and show my desktop... then bring my gui back into focus the png is then resized and placed into a different location.
My question is... does anyone have some code that allows you to use a transparent png file in your gui and it does not dissapear or any other unintended effects?
Thanks to anyone who can help me!
It seemed that I had it working fine. But I notice that if another windows gains focus over my gui that my PNG will dissapear. I did find a support thread on the forum that seemed like it would help here:
http://www.autoitscript.com/forum/topic/70664-set-png-image-to-pic/
But it does not work correctly either. When the PNG is first loaded with that code it loads the png in... but it is not at the desired location on the gui. Then if I right click and show my desktop... then bring my gui back into focus the png is then resized and placed into a different location.
My question is... does anyone have some code that allows you to use a transparent png file in your gui and it does not dissapear or any other unintended effects?
Thanks to anyone who can help me!