G
Guest
I develod application that have main form of fixed size. I have already done
that on app startup the access window get size needed. I can also position it
using x and y values. I'd like to place on the center of the screen.
x = (screenWidth / 2) - (windowSize / 2)
and 'y' the same. But I cannot find how to get screen width.
How to get width of screen?
that on app startup the access window get size needed. I can also position it
using x and y values. I'd like to place on the center of the screen.
x = (screenWidth / 2) - (windowSize / 2)
and 'y' the same. But I cannot find how to get screen width.
How to get width of screen?