Jump to content

Creating a simple icon image


Recommended Posts

For my install GUI I've been trying to find a way to create the simple folder picture which is in one of the windows dll.

I've done this for a button but I was hoping for something with no edge or no change when you click it.

#include <GUIConstants.au3>

GuiCreate('Testing', 200, 200)

GuiCtrlCreateButton("", 80, 80, 40, 40,  BitOr($BS_ICON, $BS_FLAT ))
    GuiCtrlSetImage(-1, 'C:\WINDOWS\system32\shell32.dll', 5)
    
GuiSetState() 

While 1 
    Switch GuiGetMsg() 
        Case -3 
            Exit 
    EndSwitch 
WEnd

Nevermind, I needed GuiCtrlCreateIcon

Edited by Piano_Man
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...