Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$RESIZE questions
#1
With $RESIZE:ON I've noticed that _WIDTH and _HEIGHT will not update when the screen is resized (which I assume is correct behavior).

_RESIZEWIDTH and _RESIZEHEIGHT do however as detailed in the Wiki.

Without $RESIZE:ON in the code I've noticed that _RESIZEWIDTH and _RESIZEHEIGHT report the same as _WIDTH and _HEIGHT. According to the Wiki the RESIZE command set should not be available without $RESIZE:ON.

Is _RESIZEWIDTH and _RESIZEHEIGHT reporting values without $RESIZE:ON a bug or is this expected behavior?

If this is not expected behavior and will get fixed (a bug) how can I detect when a program is allowed to resize? I would need to know to use _WIDTH and _HEIGHT when a window has a fixed size or use _RESIZEWIDTH and _RESIZEHEIGHT when a window is allowed to resize. I need to be able to incorporate this detection into libraries.

If this is expected behavior then why use _WIDTH and _HEIGHT at all? _RESIZEWIDTH and _RESIZEHEIGHT will always report the correct client _WIDTH and _HEIGHT whether $RESIZE:ON is present or not.

Any insights?
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
$RESIZE questions - by TerryRitchie - 06-06-2024, 09:09 PM
RE: $RESIZE questions - by SMcNeill - 06-06-2024, 10:22 PM
RE: $RESIZE questions - by TerryRitchie - 06-07-2024, 12:30 AM
RE: $RESIZE questions - by SMcNeill - 06-07-2024, 12:36 AM
RE: $RESIZE questions - by TerryRitchie - 06-07-2024, 12:38 AM
RE: $RESIZE questions - by SMcNeill - 06-07-2024, 12:40 AM
RE: $RESIZE questions - by TerryRitchie - 06-07-2024, 04:37 AM
RE: $RESIZE questions - by SMcNeill - 06-07-2024, 08:05 AM
RE: $RESIZE questions - by TerryRitchie - 06-07-2024, 03:38 PM



Users browsing this thread: 1 Guest(s)