Gene Posted October 15, 2005 Share Posted October 15, 2005 I'd like to make the icon you see in the Start Menu and in Win. Explorer different from the icon you see at the upper left corner of the GUI window. Is that possible? [font="Verdana"]Thanks for the response.Gene[/font]Yes, I know the punctuation is not right... Link to comment Share on other sites More sharing options...
Valuater Posted October 15, 2005 Share Posted October 15, 2005 i think so... like this $Logo_icon = @TempDir & "\Icon.ico" FileInstall("C:\Main-Pic-Icon.ico", $Logo_icon) guicreate('my GUI') GUISetIcon($Logo_icon) then use the compiler to set the windows icon 8) Link to comment Share on other sites More sharing options...
Gene Posted October 15, 2005 Author Share Posted October 15, 2005 i think so...like this$Logo_icon = @TempDir & "\Icon.ico" FileInstall("C:\Main-Pic-Icon.ico", $Logo_icon)guicreate('my GUI')GUISetIcon($Logo_icon)then use the compiler to set the windows icon8)Thanks.I should have seen that, it's in the list that search brought up, but I didn't until after I saw your post. [font="Verdana"]Thanks for the response.Gene[/font]Yes, I know the punctuation is not right... Link to comment Share on other sites More sharing options...
GaryFrost Posted October 15, 2005 Share Posted October 15, 2005 (edited) you can also change the trayicon #include <GUIConstants.au3> GUICreate("My GUI"); will create a dialog box that when displayed is centered GUISetIcon("C:\Documents and Settings\Gary\My Documents\Autoit files\Projects\AdminTool\wrench.ico") GUISetState (@SW_SHOW) $start = 0 TraySetIcon("Shell32.dll",5) do $msg = GUIGetMsg() until $msg = $GUI_EVENT_CLOSE Edited October 15, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Gene Posted October 15, 2005 Author Share Posted October 15, 2005 you can also change the trayicon#include <GUIConstants.au3> GUICreate("My GUI"); will create a dialog box that when displayed is centered GUISetIcon("C:\Documents and Settings\Gary\My Documents\Autoit files\Projects\AdminTool\wrench.ico") GUISetState (@SW_SHOW) $start = 0 TraySetIcon("Shell32.dll",5) do $msg = GUIGetMsg() until $msg = $GUI_EVENT_CLOSEThank you both. I hadn't thought of changing the tray icon, I can see how that might confuse the user. [font="Verdana"]Thanks for the response.Gene[/font]Yes, I know the punctuation is not right... 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