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!
|