Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this a problem with _RESIZE or expected behavior?
#2
Is your program influenced by $CONSOLE:ONLY?

This is a PITA away from Windows, and I don't know anymore about CMD.EXE which at least on Windows7 I remembered its other-worldly behavior with maximizing its window. You might have to give up on this and try to use a QB64 SCREEN 0.

It might require calling a function from Win API or through Power Shell.

I was going to propose using _WIDTH and _HEIGHT for a short program while such a window is maximized, so you could check against that to try to detect if the window is maximized.

On Linux could use the following terminal command I recently learned:

Code: (Select All)
stty size

to get the current number of rows and columns (in that order on the same line) of the terminal even if it were maximized (not full-screen mode which is without window decorations). Then it would have to be treated like SCREEN 0 and LOCATE positions.
Reply


Messages In This Thread
RE: Is this a problem with _RESIZE or expected behavior? - by mnrvovrfc - 05-29-2023, 11:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64 odd behavior when Windows Terminal is set to default terminal app hanness 13 1,511 10-03-2025, 12:52 AM
Last Post: bert22306
  Bothersome Behavior Pwillard 4 804 05-19-2025, 03:59 PM
Last Post: Pwillard
  Big problem for me. MystikShadows 11 2,047 01-16-2025, 05:11 AM
Last Post: JRace
  Problem with "MOD" Kernelpanic 5 1,062 01-06-2025, 02:37 AM
Last Post: Pete
  Problem with _Resize dano 7 1,299 10-22-2024, 07:22 PM
Last Post: dano

Forum Jump:


Users browsing this thread: 1 Guest(s)