Resizing the Client (win32)

Started by
2 comments, last by GameDev.net 17 years, 11 months ago
Could someone show me an example of how to resize the client area of the window to a certain width and height? Using the WS_OVERLAPPEDWINDOW flag.
-----------------------------Language: C++API: Win32, DirectXCompiler: VC++ 2003
Advertisement
Have a look into the AdjustWindowRect function - it should do what you want.
Yep, siaspete is correct. AdjustWindowRect()/AdjustWindowRectEx() will resize the client area for you.
No they won't, but they will compute the right size for you to resize the window to to get a certain client area size.

This topic is closed to new replies.

Advertisement