Window size.

Is there a way to make the main window maximized when the application first started?
mchen2Asked:
Who is Participating?
 
dujieCommented:
  You can use the CWnd::ShowWindow(SW_SHOWMAXIMIZED)
   Activates the window and displays it as a maximized window.


0
 
mchen2Author Commented:
Thank you, dujie. It works.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.