Modify

#3244 closed Bug (No Bug)

Codewizard.au3 Icon Fix poposal for Messagebox Tab and Tooltip Tab

Reported by: cyberyeye@… Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: 3.3.14.2 Severity: None
Keywords: Codewizard.au3 Cc:

Description

Bug: Codewizard.au3 don't show icon in Messagebox tab and Tooltip tab, because of wrong icon ressource number call in script to user32.dll.

Fix: in Codewizard.au3 replace wrong icon ressource number: 1, 2, 3, 4 --> BY: 101, 102, 103, 104.

OS: Win7 x64
AutoIt: 3.3.14.2 (stable)
SciTE4AutoIt3: 16.306.1237 (stable)

About Codewizard.au3 version :
#AutoIt3Wrapper_Res_Fileversion=1.5.3.1
#AutoIt3Wrapper_Res_Field=Update Date|6/27/2014
Dim $G_SZVERSION = "Code Wizard 1.5.2"

How to Fix Ressource Icon manually:

In: PathTo\AutoIt3\SciTE\CodeWizard\CodeWizard.au3

-- Icon group fix - Messagebox Tab:

  • line 184: GUICtrlSetImage(-1, "user32.dll", 1)

to: GUICtrlSetImage(-1, "user32.dll", 101)

  • line 187: GUICtrlSetImage(-1, "user32.dll", 2)

to: GUICtrlSetImage(-1, "user32.dll", 102)

  • line 190: GUICtrlSetImage(-1, "user32.dll", 3)

to: GUICtrlSetImage(-1, "user32.dll", 103)

  • line 193: GUICtrlSetImage(-1, "user32.dll", 4)

to: GUICtrlSetImage(-1, "user32.dll", 104)

-- Icon group fix - ToolTip Tab:

  • line 319: GUICtrlSetImage(-1, "user32.dll", 1)

to: GUICtrlSetImage(-1, "user32.dll", 101)

  • line 322: GUICtrlSetImage(-1, "user32.dll", 3)

to: GUICtrlSetImage(-1, "user32.dll", 103)

  • line 325: GUICtrlSetImage(-1, "user32.dll", 4)

to: GUICtrlSetImage(-1, "user32.dll", 104)

Hope this will be fixed in next Full Scite4AutoIt build :)

Regards,

Cyberyeye

Attachments (2)

Err_MessageBox_Icon.png (39.5 KB ) - added by cyberyeye on Jun 17, 2016 at 3:27:29 PM.
Codewizard dont shown icon in messagebox tab
Err_ToolTip_Icon.png (29.6 KB ) - added by anonymous on Jun 17, 2016 at 3:27:45 PM.

Download all attachments as: .zip

Change History (4)

by cyberyeye, on Jun 17, 2016 at 3:27:29 PM

Attachment: Err_MessageBox_Icon.png added

Codewizard dont shown icon in messagebox tab

by anonymous, on Jun 17, 2016 at 3:27:45 PM

Attachment: Err_ToolTip_Icon.png added

comment:1 by Jos, on Jun 18, 2016 at 3:36:09 PM

Resolution: No Bug
Status: newclosed

Not sure this will be compatible across all flavors of Windows, but I will accept any properly made changes to the source as the original developers aren't active anymore.
Just PM/Send me the update in a zip file and I will merge it back into the distribution version.

Closing this report as no bug.

Jos

comment:2 by cyberyeye, on Jun 19, 2016 at 11:38:37 AM

Ok

I've send you PM with a zip file including updated CodeWizard.au3 and ReadMe.txt

Cyberyeye

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


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