The Window Size

Started by
2 comments, last by acematti 20 years, 3 months ago
Hi I was just wondering when you make a window how to you set the size of the Window so that the display area is actually 640 x 480. I made my pong game but the title window which is a 640 x 480 image gets cut off in height so im guessing that the dimensions need to be bigger for the window so that the area is 640 x 480. Bet its a simple thing to do but MSDN blows my mind Thanks in advance Matt
Advertisement
Look up AdjustWindowRect in MSDN
Will do

CHeers
On a related note, you can get the size of the usable area of the window with GetClientRect()

This topic is closed to new replies.

Advertisement