Jump to content

Using icon libraries.


GEOSoft
 Share

Recommended Posts

I mentioned this quite a while back and I'm wondering if anyone has looked into it.

GUICtrlSetImage() using an image contained in an icl file won't work on Win 7.

So far I have not discovered a work-around. It's fine in XP but doesn't show the icon at all in W7 whether referenced by name or index.

Probably "As Designed" by Microsoft but someplace along the way we are going to need a solution. They seem to be okay of the file is a proper dll file but not if it's a dll created by Icon Workshop.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

Guess you skipped Vista, since this don't work on Vista either. Those old icon libraries are 16-bit binaries, Microsoft removed their support since Vista. The only way to support them - directly parsing library and draw icons (the UDFs are available on forums). Or just convert library to 32-bit dll.

Link to comment
Share on other sites

Guess you skipped Vista, since this don't work on Vista either. Those old icon libraries are 16-bit binaries, Microsoft removed their support since Vista. The only way to support them - directly parsing library and draw icons (the UDFs are available on forums). Or just convert library to 32-bit dll.

I'll work something out. They would probably be included in the EXE as resources in an ideal world but the app in question uses far too many icons and it was easier to create the library.

And you're right, I hated Vista and spent as little time as possible with the system. I still have unused Vista disks here and I always manage to talk people out of wanting it. Win7 will be a differnt story though.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...