From: Tom Serface on 1 Feb 2010 12:05 You could just maximize the child frame into the parent frame then it will not show as an individual window. You could also change the creation code to not create the extra buttons in the title bar if you don't want those (or disable them). void CMainFrame::ActivateFrame(int nCmdShow) { if (!m_bActivated) { m_bActivated = TRUE; nCmdShow = SW_SHOWMAXIMIZED; } CFrameWnd::ActivateFrame(nCmdShow); } where m_bActivated is a member variable of your frame object. Tom "MuMbi" <mumbi(a)daum.net> wrote in message news:7235f5f8-6e32-47da-a775-fcdc27eb67b2(a)t17g2000prg.googlegroups.com... > Hi, everybody. > > I need to hide child frame in MDI app. > > But, I will use document and view in the child frame. > > So, I've got to hide the child frame with no destruction. > > ShowWindow( SW_HIDE ) makes the child frame just minimize. > > Is it possible to hide child frame in MDI app? > > I need your helps. > > Help me~ >
First
|
Prev
|
Pages: 1 2 Prev: CListCtrl - dimensions of a checkbox Next: SqlConnect and ODBC on 64-bit Systems |