Opened 14 years ago

Closed 14 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: Component: AutoIt
Version: Severity: None
Keywords: Cc:


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.

#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
GuiCtrlCreateLabel("Hello World", 10, 10, 200, 20)

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then exit

Attachments (1)

globe.ico (97.3 KB) - added by Emiel Wieldraaijer <emielwieldraaijer@…> 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Emiel Wieldraaijer <emielwieldraaijer@…>

comment:1 Changed 14 years ago by Zedna

Here is link for original topic about this issue on the forum:

comment:2 Changed 14 years ago by Valik

  • Severity changed from None to Blocking

comment:3 Changed 14 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:4 Changed 14 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:5 Changed 14 years ago by Jon

  • Milestone set to
  • Owner set to Jon
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [5393] in version:

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.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.