maximised dialog box in MFC

How do I set the dialog Box to open in maximised mode ?? Basically I'm looking for a command to declare in OnInit() function.
From OnInitDialog, call:

 
ShowWindow(SW_MAXIMIZE);


http://msdn.microsoft.com/en-us/library/72szh9c7.aspx
Topic archived. No new replies allowed.