Wrox Programmer Forums
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 31st, 2008, 09:16 AM
Registered User
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser window: Specifying the size and location? asearle HTML Code Clinic 2 November 22nd, 2007 08:50 AM
Window or Page size ckrajeshvarma ASP.NET 2.0 Professional 0 August 6th, 2006 12:53 AM
Window Size ckrajeshvarma ASP.NET 2.0 Basics 0 August 6th, 2006 12:50 AM
set size of window on load SoC Javascript How-To 3 September 14th, 2004 03:22 AM
Window Size and DIV location TSEROOGY Javascript 6 August 30th, 2004 10:37 PM

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