Hi,
I'm trying to create a 100*100 window in the middle of the screen. My resolution is 1920x1080.
I've set the upper-left corner at 960,540 but the windows is drawn further (Screenshot attached).
Maybe someone can help me out
I can't really evaluate the apparent discrepancy from the screenshot
the top lef corner seems indeed a bit off....try drawing the window WITH the frame and check wehre that ends up drwan.
Hi pkrcel,
the gap is always present, also when I draw the frame.
The screenshot refer to my last test. I did several.
With a bigger window it's more noticeable
Update
On Windows Seven/XP the window is correctly created in the middle of the screen
Displacement happens only on Windows 8 (8.1)
Displacement happens only on Windows 8 (8.1)
Damn, I was going to try to fix this, but I only have Windows 7 .
Also the window size is messed up on my Windows 8.1
The real size of a 100*100 window (no frame) is 125*125 pixel