Jump to content

how to load a 16x16 icon?


Recommended Posts

$icon = GUICtrlCreateIcon ("shell32.dll",1, 11,11,16,16)

I don't know why the line above can not show a small icon(16x16) and Autoit always give me a 32x32px sized icon. Even if there's no icon of this dimension, Autoit just simply strech the small icon to fit 32x32px area.

I'm using Autoit v3.1.1 stable release.

Link to post
Share on other sites

$icon = GUICtrlCreateIcon ("shell32.dll",1, 11,11,16,16)

I don't know why the line above can not show a small icon(16x16) and Autoit always give me a 32x32px sized icon. Even if there's no icon of this dimension, Autoit just simply strech the small icon to fit 32x32px area.

I'm using Autoit v3.1.1 stable release.

There was correction in the beta on the subject so you have to use the beta if you want it working ;)
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...