Ejaz Posted February 3, 2009 Share Posted February 3, 2009 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 More sharing options...
Aladdin Posted February 3, 2009 Share Posted February 3, 2009 are you sure it's not in help file? $sFile = "C:\test.ico" GUISetIcon($sFile) _______________________________ Link to comment Share on other sites More sharing options...
Ejaz Posted February 3, 2009 Author Share Posted February 3, 2009 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 More sharing options...
Zedna Posted February 3, 2009 Share Posted February 3, 2009 Can we also use "gif" files to be used in the header of the GUI. I tried with gif, but its not working?No, you can use only ICO files. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now