Help file menu icons too small on high DPi display

Windows specific forum
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Help file menu icons too small on high DPi display

Post 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
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

It's the Microsoft chm viewer which does that, it's not a PB program
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

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

Post 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.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
pfnuesu
New User
New User
Posts: 9
Joined: Tue May 03, 2022 8:17 pm

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

Post by pfnuesu »

User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

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

Post 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.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

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

Post 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 ?
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
pfnuesu
New User
New User
Posts: 9
Joined: Tue May 03, 2022 8:17 pm

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

Post by pfnuesu »

You're welcome, even if it's only part of the desired solution.
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

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

Post 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
User avatar
Blue
Addict
Addict
Posts: 964
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

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

Post 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.
PB Forums : Proof positive that 2 heads (or more...) are better than one :idea:
Post Reply