Jump to content
Sign in to follow this  
Ejaz

Setting Icon

Recommended Posts

Ejaz

I am currently using the icon as follows

GuiSetIcon(@SystemDir & "\mspaint.exe", 0)

If i have an icon for e.g. "test.ico" how to use this icon instead of pointing to an executable file like above to be displayed in the header of the GUI window.

Regards,

Ejaz

Share this post


Link to post
Share on other sites
Aladdin

are you sure it's not in help file?

$sFile = "C:\test.ico"

GUISetIcon($sFile)


_______________________________

Share this post


Link to post
Share on other sites
Ejaz

are you sure it's not in help file?

$sFile = "C:\test.ico"

GUISetIcon($sFile)

Thanks for your reply,

This works, Thanks !!!

Can we also use "gif" files to be used in the header of the GUI. I tried with gif, but its not working?

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  

×