Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximising Child Window

Status
Not open for further replies.

rachelason

Programmer
Jun 28, 2004
114
GB
Hi all,
I think I have a small problem to solve but can't get things done.
I have created multi-document browser style window for my application using the MFC wizard. The thing i forgot to do then is to tick the box which says 'maximise the child window'. Is there any way I can add the code to maximse the child window in my application?

I have tried adding the code in the Precreate window in the childfm.cpp ...also tried over-riding MDIMaximize()...no good. I am surely missing something.
Can someone help me please?

thanks
 
Thanks for your link. But it didn't work. But i found a code on the net ...to use ActivateFrame() function and it worked like a charm. Not sure why exactly precreate() didn't work.
Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top