Jump to content
Sign in to follow this  

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)

While 1 
    Switch GuiGetMsg() 
        Case -3 

Nevermind, I needed GuiCtrlCreateIcon

Edited by Piano_Man

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post

Link to post
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
Sign in to follow this