I'm trying to find a way to have guis or message boxes to use an icon other than the scripts icon, and not change the tray icon.
I search the forums for something to help but didn't find anything. I thought that I saw a way to do this at one time, but I don't see a way any more.
thanks
Gui or message box windows not use the script's icon?
- dangerdogL2121
- Posts: 173
- Joined: 01 Oct 2013, 23:11
Re: Gui or message box windows not use the script's icon?
I don't remember, try to do some google search, maybe this old thread http://www.autohotkey.com/board/topic/3 ... ndow-icon/
- dangerdogL2121
- Posts: 173
- Joined: 01 Oct 2013, 23:11
Re: Gui or message box windows not use the script's icon?
It appears that I would have to change the tray icon to do that.
From the Gui Documentation page
From the Gui Documentation page
I still wish there was a way.For its icon, a GUI window uses the tray icon that was in effect at the time the window was created. Thus, to have a different icon, change the tray icon before creating the window. For example: Menu, Tray, Icon, MyIcon.ico
- dangerdogL2121
- Posts: 173
- Joined: 01 Oct 2013, 23:11
Re: Gui or message box windows not use the script's icon?
Aha!
I didn't realize that changing the script's icon then making a window then changing the script's icon again had the gui window take on the script icon at the time of the created gui, and then that it kept the same icon.
Now my question is, how can I get a message box to display the script's icon in it's title bar?
thanks
I didn't realize that changing the script's icon then making a window then changing the script's icon again had the gui window take on the script icon at the time of the created gui, and then that it kept the same icon.
Now my question is, how can I get a message box to display the script's icon in it's title bar?
thanks