View Single Post
  #1 (permalink)  
Old March 31st, 2008, 09:16 AM
tenvuong tenvuong is offline
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!