I cloned and tweaked a version of
However, when I run the installer on my laptop, the changes to the text are not applied.
I tested both CreateFont
and SelectObject
and neither of these return any error on any of the machines. The virtual machine and the laptop are both running Windows 21H1 so I don't think this is a Windows version issue.
I am a bit clueless about what could be causing this otherwise. I never played with the Windows API before. Is there a library I am missing? Thank you in advance!
CodePudding user response:
It turns out the code does work on my laptop. However, another program is interfering/overriding font settings (WindowBlinds 10 in this case).
My approach is still not ideal (as stated by Vlad Feinstein) but I hope it helps.