Jump to content
Sign in to follow this  
JohnRichard

GUI Icon

Recommended Posts

JohnRichard

Hi all. I have this GUI and i want to set an icon. My question is, is it possible to use a PNG type of icon in AutoIt. I have tried to set icon with PNG type icon other than ICO but it seems that it's not working...with ICO type it is working...

Share this post


Link to post
Share on other sites
Yashied

Hi all. I have this GUI and i want to set an icon. My question is, is it possible to use a PNG type of icon in AutoIt. I have tried to set icon with PNG type icon other than ICO but it seems that it's not working...with ICO type it is working...

PNG is not an icon, this image. For images, you should use GUICtrlCreatePic(), but with PNG it's not working. Use this to solve problem.

Share this post


Link to post
Share on other sites
JohnRichard

PNG is not an icon, this image. For images, you should use GUICtrlCreatePic(), but with PNG it's not working. Use this to solve problem.

o i see. thanks for your UDF yashied. i'll try to understand it and solved my problem...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.