p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Ivor Horton's Beginning Visual C++ 2005 (http://p2p.wrox.com/forumdisplay.php?f=249)
-   -   Customizing the window size (http://p2p.wrox.com/showthread.php?t=67025)

tenvuong March 31st, 2008 09:16 AM

Customizing the window size
 
Hi all,

In the process of doing the Sketcher program on Chapter 13. Is there a way to enter the exact dimensions of the default window when the program is run?

For instance, when we run the program, we always have 1 window by default. How would I customize the dimensions of this window? I searched on Google, and managed to find a CWnd::SetWindowPos class, but I just want to see if there are other suggestions.

As for where to put this code, I thought of putting it under the CMainFrame constructor, as I made it an SDI.

Any info would be great!



All times are GMT -4. The time now is 03:38 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.