Jump to content

Setting Icon


Ejaz
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...