Author Topic: How to get the resolution used by client.  (Read 2417 times)

Offline Slowhand

  • Go for the eyes, Boo! Go for the eyes!
How to get the resolution used by client.
« on: September 11, 2017, 03:50:44 pm »
I want to position stuff on screen, and knowing the resolution might be crucial, as I want to place it top right corner. How to acquire the max width/height of the screen?

Re: How to get the resolution used by client.
« Reply #1 on: September 11, 2017, 09:10:34 pm »
int __ScreenWidth;
int __ScreenHeight;

Offline Slowhand

  • Go for the eyes, Boo! Go for the eyes!
Re: How to get the resolution used by client.
« Reply #2 on: September 11, 2017, 10:24:24 pm »
ty