Page 1 of 1

Help file menu icons too small on high DPi display

Posted: Sat Apr 05, 2025 4:50 pm
by Blue
The menu icons displayed at the top left of the help file are ridiculously small on a high DPi display.
For instance, on my Asus laptop, with a 250% DPi scale and a 3840 X 2400 resolution, those icons aappear way too small.

This is NOT a new problem. It has been an annoyance for years.
I think now would be a good time to finally correct this.

Sorry, no code. None necessary, i expect.
Possibly a picture ... if I can just remember how to attach one to a message.

Image

Re: Help file menu icons too small on high DPi display

Posted: Sat Apr 05, 2025 5:54 pm
by Fred
It's the Microsoft chm viewer which does that, it's not a PB program

Re: Help file menu icons too small on high DPi display

Posted: Sat Apr 05, 2025 11:44 pm
by Blue
Well, that’s really too bad.
So, no known solution ?

Anyway, thank you for taking the time to look at this complaint, Fred.

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 12:59 am
by pfnuesu

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 1:10 am
by Blue
pfnuesu wrote: Sun Apr 06, 2025 12:59 am Maybe this workaround helps?

https://david-homer.blogspot.com/2024/0 ... files.html
I haven’t tried the proposed solution, yet, but just the idea that something is possible gives me great pleasure.
Thank you pfnuesu for sharing this tip.

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 2:06 am
by Blue
pfnuesu's suggested solution works perfectly, as evidenced by the following picture :

Image

So, again, thank you pfnuesu

Unfortunately, this workaround does NOT work from within the PB IDE.
I guess that the IDE calls the default Windows HH.exe directly to display the Help file, therefore skirting whatever other solution a user implements.

Any solution to that, Fred ?

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 12:17 pm
by pfnuesu
You're welcome, even if it's only part of the desired solution.

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 12:40 pm
by AZJIO
Blue wrote: Sun Apr 06, 2025 2:06 am I guess that the IDE calls the default Windows HH.exe directly to display the Help file
[IDE Tool] Help

Re: Help file menu icons too small on high DPi display

Posted: Sun Apr 06, 2025 2:08 pm
by Blue
The ideal solution would be if Windows (i.e. the OS) allowed the user to replace HH.exe with the DPi-enabled version created using pfnuesu's suggested workaround. No matter what I tried, Windows wouldn't allow it.

If anyone knows how to override Windows' protection of that system file, i'm all ears...

I also tried a simpler solution : creating an IDE user tool that calls the PB Help file. That worked without a hitch, and it was even simple and easy to redirect the F1 key to call this alternate Help. However, i just couldn't pass the current word to the PB Help file. So, again, any working suggestion would be much appreciated.

Question to Fred (I hope he still reads this topic...) :
How can I pass parameters to the Help file ?
It would be very useful to know.