![]() ![]() So looking in 3 to get a true ordinal or name and your bound to fail at some point. Ordinal names in the first group go from: 6 upto 11 Icon group name 1 contains 6 icons each containing an ordinal name Ordinal name of an icon in a group isn't always in consecutive order. The first icon groups names in shell32.dll start at 1 and go upto 54Įach icon group name contains multiple icons of different sizes and bit color which each icon has an ordinal name. Over all getting the icon wanted for a trivial task is not always as easy as it seems.lol Then autoit also uses a different method when using GuiCtrlSetImage() when setting icons. So trying to use an index or ordinal number to get the correct icon also makes it harder to consistently get the correct icon you want. The reason I say this is it doesn't actually check the ordinal or names in the resource which make getting the correct icon hit and miss or a fluke imho.Īs for windows shortcuts and it's method of icon number that's also another kettle of fish.įrom reading some threads on other forums windows translates a shortcuts icon index to a low order word. When looking at shell32.dll in a resource viewer you can see the icon group name and the individual icon ordinal name.įor example when windows creates a shortcut and the number of the icon the shortcut uses does not equal the ordinal or group name or index in the resource.Į3 does not show the ordinal or name that is in a resource. If you can work out the icon index or ordinal your doing well.lol ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |