johngreenwood 0 Posted June 16, 2010 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
Tvern 11 Posted June 16, 2010 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
johngreenwood 0 Posted June 16, 2010 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
Tvern 11 Posted June 16, 2010 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
johngreenwood 0 Posted June 16, 2010 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
ResNullius 8 Posted June 19, 2010 @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
johngreenwood 0 Posted June 19, 2010 Interesting, thank you very much. Share this post Link to post Share on other sites