View Single Post
  #1  
Old 22-03-2022, 14:55
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
@Gehrman, I will fix this in the next CIU update.
But you can fix it in your script by inserting the lines highlighted in red.
Code:
#if !defined(CREATOR)
Source: "Resources\Includes\UnArc.dll"; DestDir: "COMPRESSORS"; Flags: dontcopy
Source: "Resources\Includes\ISDone.dll"; DestDir: "COMPRESSORS"; Flags: dontcopy
Source: "Resources\Includes\English.ini"; DestDir: "COMPRESSORS"; Flags: dontcopy
#if defined(InternalDLL) && FileExists(AddBackslash(SourcePath) + ExtractFileName(SetupSetting("OutputBaseFilename")) + ".dll")
Source: "{#AddBackslash(SourcePath) + ExtractFileName(SetupSetting("OutputBaseFilename")) + ".dll"}"; DestDir: "COMPRESSORS"; Flags: dontcopy
#endif
#endif
For some time, nothing new has been included in the CIU (It's not good to mess around when it's working well).
However, a TrackBar will be included to control the music/video volume (See the example in the attached file).

As for the bug that cuts the labels in the texts of the buttons informed by Prettyboy099, I still haven't found a solution.
Obtaining text width measurements from the windows API function GetTextExtentPoint32 returns a value well below the correct value (in Cyrillic characters) using some different fonts.
Attached Files
File Type: 7z TrackBar.7z (25.23 MB, 34 views)

Last edited by Cesar82; 22-03-2022 at 15:11.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Gehrman (22-03-2022), mausschieber (23-03-2022)
Sponsored Links