Opened 15 years ago
Closed 15 years ago
#1270 closed Feature Request (Completed)
GUISetIcon (@ScriptName) sets the 48x48 icon to the GUI
Reported by: | Emiel Wieldraaijer <emielwieldraaijer@…> | Owned by: | Jon |
---|---|---|---|
Milestone: | 3.3.1.6 | Component: | AutoIt |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
Look at the icons used for displaying the program when pressing ALT-TAB. The globe is much better when no GuiSetIcon(@ScriptName) is used.I know it isn't necessary to use it.. but i still believe it's a bug.
#Region #AutoIt3Wrapper_icon=globe.ico #AutoIt3Wrapper_outfile=IconBug.exe #AutoIt3Wrapper_UseUpx=n #EndRegion #include <GUIConstantsEx.au3> GUICreate("Icon Bug", 315, 260) ; GuiSetIcon (@Scriptname) produces the Icon Bug with ALT-TAB / System Tray ; Wrong icon is displayed on Vista/Windows 7 i Believe 48x48 instead of a better one ; Remove the GuiSetIcon and the icon is displayed correct GuiSetIcon(@ScriptName) GuiCtrlCreateLabel("Hello World", 10, 10, 200, 20) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then exit Wend
Attachments (1)
Change History (6)
Changed 15 years ago by Emiel Wieldraaijer <emielwieldraaijer@…>
comment:1 Changed 15 years ago by Zedna
comment:2 Changed 15 years ago by Valik
- Severity changed from None to Blocking
comment:3 Changed 15 years ago by Jon
- Severity changed from Blocking to None
- Type changed from Bug to Feature Request
Changing to a feature request. We need a complete overhaul of the icon loading code and it has to try different resolutions and depths depending on the OS. We also only support loading the "small" icon atm. So we would need to change that to both small and large. So not a simple change.
comment:5 Changed 15 years ago by Jon
- Milestone set to 3.3.1.6
- Owner set to Jon
- Resolution set to Completed
- Status changed from new to closed
Added by revision [5393] in version: 3.3.1.6
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Here is link for original topic about this issue on the forum:
http://www.autoitscript.com/forum/index.php?showtopic=103522&view=findpost&p=741423