#211
|
||||
|
||||
I'm not sure I understand your question, but effectively both the normal function and the extended function are the same, the extended function just gives the option to only make a font available to the caller process or that the font should not be enumerated by any process, other than that. They are virtually the same, if you're referring to the functions seemingly not working on FMX platform then all you need to do is call the function before the application is created/initialized.
|
Sponsored Links |
#212
|
||||
|
||||
Quote:
|
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (21-02-2023) |
#213
|
||||
|
||||
Ah I remember now. I once had this problem in ASC (Advanced Setup Creator), this isn't a AddFontResource problem but rather a FMX problem on other platforms and the way I fixed it was temporarily placing the font in "C:\Windows\Fonts" you can use FileCopy after extracting temporary files, then adding the font name in Windows Registry in "Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Wi ndows NT\CurrentVersion\Fonts", with Font Name (TrueType) as value name and the font filename as value data. It's wise to check if the font exists in registry before doing this because you need to delete the registry and delete the file in deinitializesetup.
|
#214
|
||||
|
||||
OK. Here I was unexpectedly introduced to "FontReg.exe " https://code.kliu.org/misc/fontreg / . I have very high hopes for her. But there is a small problem - this is a test "on live systems". But to hell with it with the test, the most important thing is that this utility installs and registers fonts in the system without distorting the explorer and as a result the fonts remain in the system, it seems to me that not every user will like it. But still, for now, it should work both at 7 and at 11. And this is a FAT plus.
https://youtu.be/xsfhrtsRWHU Last edited by audiofeel; 21-02-2023 at 18:17. |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
hitman797 (22-02-2023) |
#215
|
||||
|
||||
who has "win 7" as you have with the launch of "Core pack Style" are especially interested in fonts
also check out the new installer "ATOMIC HEART" is also interested in displaying fonts. all ISS included P.S thanks for the atomic heart installer style Razor12911 Last edited by audiofeel; 08-03-2023 at 07:57. |
The Following 2 Users Say Thank You to audiofeel For This Useful Post: | ||
Harsh ojha (28-02-2023), hitman797 (24-02-2023) |
#216
|
||||
|
||||
It works fine on Windows 7 (although it was via VM), however there seems to be other problems. I'm not sure if those bezels (the edges left, right and bottom) are by design but they just seemed to be out of place and they are even more prominent if you disable the aero theme.
|
#217
|
||||
|
||||
Thanks for the test. Well, I think this is the best result, question marks instead of symbols are something else, these are "ANSI or UTF" encoding problems. The frames on the edges are certainly not provided by me. It remains to understand on which form the frames will not be displayed. The maestro left us a big choice to choose from.
How do you like this, Elon Musk? Code:
function FCreateNormal(WParent: HWND): HWND; function FCreateFluent(WParent: HWND; DarkTheme, NoBorder: Boolean; Opacity: Single; BrightnessPct: Byte): HWND; function FCreateFluentColor(WParent: HWND; VCLColor: Integer; NoBorder: Boolean; Opacity: Single; BrightnessPct: Byte): HWND; function FCreateFluentNull(WParent: HWND; NoBorder: Boolean): HWND; function FCreateImageForm(WParent: HWND; const Picture: WideString; Opacity: Single): HWND; function FCreateBlankForm(WParent: HWND; FormColor: Integer; const AddImage: WideString): HWND; Last edited by audiofeel; 27-12-2023 at 10:08. |
#218
|
||||
|
||||
Hi @audiofeel,
i have played a bit with your Installer (Atomic Hearts) and created my own style. All goes well when the Installer is directly on any harddrive... When I create an ISO with the Installer, mount it and start the Setup.exe, then it only hanging in the background/taskbar and I only can kill it over taskmanager. (> same with your provided original on my PC) My Info: - Win11-2022 using - my Script has only other Images and more Redist Icons. - ISO made with ImageBurn / Mounted with Win11 directly Do you get the same behavier ?! perhaps already any solution ;-) (Edit: Same for me with the provided CorePack) Last edited by nordi; 26-02-2023 at 23:36. |
The Following User Says Thank You to nordi For This Useful Post: | ||
audiofeel (26-02-2023) |
#219
|
||||
|
||||
Quote:
|
The Following 2 Users Say Thank You to audiofeel For This Useful Post: | ||
BLACKFIRE69 (03-03-2023), nordi (27-02-2023) |
#220
|
||||
|
||||
Style File Compression
If someone is not satisfied with the large size of the source file created on the basis of "FMXInno" using the style file "...style". You can easily convert it from the "text" format to the "binary" format. Thereby reduce its size. The savings are small... about 1.5 mb. Links and screenshots below
fmx-style-converter/ Last edited by audiofeel; 27-12-2023 at 10:08. |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
alexachu (03-03-2023) |
#221
|
||||
|
||||
Ok, hello everyone, who will help? how do I transfer the value from the "FTrackBar" to the "Volume" of the music?
that is, to put it simply, to make a volume control I tried to do this Code:
procedure TrackbarOnChange(Sender: TObject); begin MusicObj.SetVolume(VolTrackbar.GetValue); end; thank you in advance. Last edited by audiofeel; 04-03-2023 at 05:26. |
#222
|
||||
|
||||
Quote:
Code:
procedure Trackbar1OnChange(Sender: TObject); begin MusicObj.SetVolume(Round(Trackbar_Regular.GetValue)); end; but why? Code:
IXBass : procedure SetVolume(Const Vol: Integer); FTrackBar : function GetValue: Single; |
The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (04-03-2023) |
#223
|
|||
|
|||
@BLACKFIRE69
thx for ur replay my msg |
#224
|
||||
|
||||
Quote:
My settings are as follows Code:
{ Volume Trackbar } VolTrackbar.FCreate(BaseLayer.Handle); VolTrackbar.Left(TitleBarBtn[2].GetLeft - NSX(46)); VolTrackbar.Top(NSY(5)); VolTrackbar.Width(NSX(46)); VolTrackbar.Min(0); VolTrackbar.Max(100); VolTrackbar.Value(100); VolTrackbar.OnChange(@TrackbarOnChange); I apologize and I know that all this should have been clarified earlier when you were working hard on the project, but you have very few explanations for your library. Last edited by audiofeel; 27-12-2023 at 10:08. |
The Following User Says Thank You to audiofeel For This Useful Post: | ||
Gehrman (05-03-2023) |
#225
|
||||
|
||||
Quote:
yes, volume control is neither gradual nor smooth. i agree. the volume range is (-10,000 to 0). DSBVOLUME_MAX := 0; DSBVOLUME_MIN := -10,000 For More Info i don't know how to do smooth control tho. what i'm doing is simply just set the value as below. Code:
Vol := (InputVolPct - 100) * 100; DirectSoundBuffer.SetVolume(Vol) if anyone knows a better way let me know. |
The Following User Says Thank You to BLACKFIRE69 For This Useful Post: | ||
audiofeel (05-03-2023) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |