ID:68341
 
Not a bug
Not a bug
BYOND Version:440
Operating System:Windows Vista Home Basic
Web Browser:Firefox 3.0.10
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
When you click the maximize button in the title bar, a window will maximize, but it's "size" param does not update.

Numbered Steps to Reproduce Problem:
Run a test verb (code below)
Maximize the window
Run it again.

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/test() src<<winget(src, "main", "size")


Expected Results:
I think size should update.

Actual Results:
It doesn't.

Does the problem occur:
Every time? Or how often? Every time
In other games? Most Likely
In other user accounts? I'm pretty sure.
On other computers? Affirmative.

When does the problem NOT occur?
None

Workarounds:
None
This has been brought up in the past, and determined to not be a bug; the size parameter holds the size of the window in its restored state.

Original thread: ID:681336

That thread also contains two other methods of finding the screen resolution, in case that is what you are interested in.