Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1616 closed Bug (Fixed)

AutoIt3Wrapper Icon Resource Error

Reported by: SkinnyWhiteGuy Owned by:
Milestone: Future Release Component: SciTE4AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

I was trying to add around 75 icons to a program I was writing, so I didn't have to use a resource dll or anything like that. I kept getting the wrong icons for my toolbars and such, and couldn't figure out why, I knew I was using the right index's. I finally loaded my exe into ResHacker, to see what it saw for icons. I found most of the Icon Groups had only the first few icons I had added, just repeated, and some of them were mixed up. I couldn't figure out why that was, until I noticed that none of what it calls "Ordinal Numbers" were above 255. On a hunch, I looked in the AutoIt3Wrapper.au3 file, and found where the icons are added, and found the ResourceID was indeed a byte. I searched online, and found this http://msdn.microsoft.com/en-us/library/ms997538.aspx. According to it, the nID (our ResourceID) should be a word, or 2 byte short. I changed my copy of AutoIt3Wrapper to reflect that, and all my problems went away.

So, in short, line 1803 in AutoIt3Wrapper.au3 needs ResourceID changed from byte to short.

Attachments (0)

Change History (3)

comment:1 by Jos, 16 years ago

Component: OtherSciTE4AutoIt
Resolution: Fixed
Status: newclosed
Version: 3.3.6.0Other

Made the update to $tB_GroupIcon and uploaded a new version to the SciTE Beta directory.
Please test to see if that fixes it for you.

Thanks
Jos

comment:2 by TicketCleanup, 16 years ago

Milestone: Future Release

Automatic ticket cleanup.

in reply to:  1 comment:3 by anonymous, 16 years ago

Replying to Jos:

Made the update to $tB_GroupIcon and uploaded a new version to the SciTE Beta directory.
Please test to see if that fixes it for you.

Thanks
Jos

That fixed it for me, thanks.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.