Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Resizing. Window width height

Author
Message
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 9th Mar 2017 23:46 Edited at: 10th Mar 2017 00:33
I am trying to understand/translate the parameters returned by GetScreenBounds (Top/Right/Left/Bottom) in order to be able to manage a window if it is resized.
I display a window of 1024x768 like so


Then i drag the right side of the window and get this;

Here is my code;


My calculations suggest the width should be 1242 but in fact it is 1229
if there something i'm missing here?

Login to post a reply

Server time is: 2024-04-19 10:07:48
Your offset time is: 2024-04-19 10:07:48