Solved

Hide the first MDIChildWnd in MDI when created?

Posted on 1998-08-04
1
190 Views
Last Modified: 2013-11-19
How to make the first MDIChildWnd wnd when created? I want to new or open a document with many views but with the corresponding MDIChild and its view is invisible but still with document opened.
the cs.style &=~WS_VISIBLE in precreate just don't work. If  use cmdInfo.m_nShellCommand = CommandLineInfo::FileNothing;
there is no active document.
0
Comment
Question by:cmliu
1 Comment
 
LVL 8

Accepted Solution

by:
trestan earned 50 total points
ID: 1320228
Put GetWindow(NULL) -> ShowWindow(SW_HIDE); in the OnPaint function of ChildFrm class.

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 49
Error on moodle after upgrade 3 130
tripleUp challenge 7 78
Trying to run powershell  in a batch file. How do I do this? 8 89
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now