Sign in to follow this  
Followers 0
johngreenwood

Icons don't look good.

7 posts in this topic

I am using GUICtrlCreateIcon and updating the icon based on a combobox entry. I want the icon to be quite large but it doesn't look good. Is there any way to make the icon appear clearer at larger resolutions?

Share this post


Link to post
Share on other sites



Does your icon file contain an icon at higher resolution? If so you will have to specify the index of that icon as the second parameter of GuiCtrlCreateIcon.

To find out that icons are stored in an *.ico and their indices, you can use a resource hacker.

Share this post


Link to post
Share on other sites

Thank you Tvern. I guess I'll just have to have them ugly as the icons are already on the user's computer. I'm just finding them and bringing it into the GUI as a preview.

Share this post


Link to post
Share on other sites

You might be able to get the information about an icon using an autoit script to determine what icon has the best resolution and then use that one. Ofcoarse that is assuming that each icon file containst multiple resolutions of the same icon.

Share this post


Link to post
Share on other sites

Some of the icons are coming from a dll in the Windows dir which contains many icons, and others are found elsewhere. Some don't even have icons.

Share this post


Link to post
Share on other sites

@johngreenwood

Check out Yashied's work here:

http://www.autoitscript.com/forum/index.php?s=&showtopic=89387&view=findpost&p=642424

and here:

http://www.autoitscript.com/forum/index.php?s=&showtopic=92675&view=findpost&p=666005

I think you'll find it addresses your needs.

Share this post


Link to post
Share on other sites

Interesting, thank you very much.

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