Sign in to follow this  
simon10k

Resizing the Client (win32)

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Yep, siaspete is correct. AdjustWindowRect()/AdjustWindowRectEx() will resize the client area for you.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this