Sign in to follow this  
Followers 0
somh

how to load a 16x16 icon?

4 posts in this topic

$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.

Share this post


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 ;)

Share this post


Link to post
Share on other sites

There was correction in the beta on the subject so you have to use the beta if you want it working ;)

Still unfortunately the beta version seems unable to load icons from exe or dll files...

Share this post


Link to post
Share on other sites

Still unfortunately the beta version seems unable to load icons from exe or dll files...

at least the attached file is working

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  
Followers 0