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)
(#196430@0)
2001-9-10 -05:00

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

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT杂谈

URL:   
http://www.rolia.net/zh/post.php?f=0&p=196430