Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
auto-detecting screen resolution for optimal window size on non-Windows systems
#9
(11-02-2025, 10:01 PM)Herve Wrote: @madscijr, maybe a solution for linux version?
By using two X11 utilities, we can retrieve some useful information.
With xprop we get the actual desktop dimensions (the taskbar is not included).
With xwininfo we get the window dimensions, the height of the title bar, and the size of the borders.
This is an X11 solution; it should be tested with Wayland.
[/qb]
Thanks!
Well, I can't run it (haven't tried the WSL or Darling) but the QB64PE IDE doesn't give any syntax errors.
Reply


Messages In This Thread
RE: auto-detecting screen resolution for optimal window size on non-Windows systems - by madscijr - 11-10-2025, 02:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Enlarging window for older BAS programs (ie. Screen 7 mode) paulel 5 402 12-24-2025, 09:36 PM
Last Post: paulel
  Font Size in Threads Dimster 5 371 12-12-2025, 04:49 PM
Last Post: Dimster
  is there any way to position the inputbox$ window? madscijr 21 1,676 11-06-2025, 09:54 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 218 10-26-2025, 06:58 PM
Last Post: madscijr
  Play wav file in the background without a window on the forground Rudy M 12 1,143 09-18-2025, 07:08 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)