Call GetSystemMetrix() to get window's caption size and window's border thickness, then it is easy to calculate the window size to create.

guest (harvey)
2001-9-10 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 请教各位VC++高手,现在用VC++画了一个窗口,如何能够设置窗口中工作区的大小,比如设置成200*200?谢谢!

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈