Solved

Hide the first MDIChildWnd in MDI when created?

Posted on 1998-08-04
1
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

738 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