Can I please suggest an official command to set the menu font and/or size? Thanks.
If anyone has an API way in the meantime, please feel free to shoot me the technique.
Set menu font and/or size
Re: Set menu font and/or size
On Windows, there's no API or other official way to do this. Even other languages can't do this. I guess you'll have to do this by hand (good ol' canvas).
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Set menu font and/or size
Whaaat? Menu font sizes can't be changed?
Re: Set menu font and/or size
Good too. To keep the little consistency Windows apps have (mostly because they use old controls) intact. It is a system setting.
Re: Set menu font and/or size
You can use an OWNERDRAW menu if you want to, but it's not that easy. For example: viewtopic.php?p=449320#p449320
Re: Set menu font and/or size
Reason for asking was because a user said the standard menus of my app are too small to read on his ultra-big monitor, so I thought the size could be easily changed. Amazed that they can't without owner-drawing, or without changing system-wide settings for it.
Thanks for the link, Fred. It doesn't look like too much work to convert over, as most of the PureBasic menu commands are still used.
Thanks for the link, Fred. It doesn't look like too much work to convert over, as most of the PureBasic menu commands are still used.
Re: Set menu font and/or size
but the other apps are showing normal menus ? Because PB uses standard menu, so it should be the same. If you use ImageMenu, try with standard menu to see if it makes any diff
Re: Set menu font and/or size
Let him change the font size in system settings.