Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 31st, 2008, 09:16 AM
Registered User
 
Join Date: Mar 2008
Location: Nham, , Vietnam.
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!

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:08 AM.


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