Jump to content
Sign in to follow this  

Use GuiCtrlSetImage on shell32.dll

Recommended Posts


Hi folks,

in the past I used GuiCtrlSetImage to set an icon for buttons on the gui.

In a current case the shell32.dll is my target.

After the autoit version => the function changed. If i set

the refresh icon on index 238 I get another icon.

I have a selfmade tool which give's me all icons from a dll or an exe. I've

used it to control the index. Enhanced you find a jpeg with the result on

version higher then The indices are different and some icons

are not listed.

Does anyone know about that problem with GuiCtrlSetImage?


Share this post

Link to post
Share on other sites

Okay, found a solution. That index is negativ. Instead 238 like windows use it

in the desktop.ini files I have to use -239.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.