Closing a sub form using MDI parent/child forms?
<p>I'm trying to close a MDI child form inside a parent form with a button click..</p>

<p>I'm using Visual C++</p>

<p>ive try the following</p>

<pre><code>            newMDIChild-&gt;Close();
            newMDIChild-&gt;Cancel = true;
        newMDIChild-&gt;Hide();
        newMDIChild-&gt;Visible = false;
</code></pre>

<p>None of which work... </p>

<p>Any ideas?</p>
