Modify ↓
Opened 16 years ago
Closed 16 years ago
#1270 closed Feature Request (Completed)
GUISetIcon (@ScriptName) sets the 48x48 icon to the GUI
| Reported by: | 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)
by , 16 years ago
comment:1 by , 16 years ago
comment:2 by , 16 years ago
| Severity: | None → Blocking |
|---|
comment:3 by , 16 years ago
| Severity: | Blocking → None |
|---|---|
| Type: | Bug → 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 by , 16 years ago
| Milestone: | → 3.3.1.6 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [5393] in version: 3.3.1.6
Note:
See TracTickets
for help on using tickets.

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