Jump to content

Title bar icon resolution issue help


rootx
 Share

Recommended Posts

the icon loses resolution, why?

THX

#include <Array.au3>
#include <File.au3>
#include <MsgBoxConstants.au3>
#include <Date.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
#include <StaticConstants.au3>

Global $icon = @ScriptDir&"\res\Wpresize.ico"

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("test", 477, 300, 192, 124)
If Not @Compiled Then GUISetIcon($icon)
GUISetIcon($icon, -1)


GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###





While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

 

Wpresize.ico

Cattura.JPG

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...