Bruce Varley
unread,Apr 1, 2013, 8:49:38 AM4/1/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
MFC application, the window creation function is below. When the program is
run, the window comes up undocked, and I have to maximise it manually. I've
tried many of the other style specifiers, none of them will do that. Is
there something else that I need to do to get the program to startup with a
maximised window? Or is it a Windows thing, rather than the application?
TIA
CMainWindow::CMainWindow()
{
Create (NULL,
"My Program"
,WS_OVERLAPPEDWINDOW,
rectDefault,
NULL,
0
) ;