Microsoft KB Archive/196834

= PRB: MFC Active Document Container May Not Hide Toolbars =

Article ID: 196834

Article Last Modified on 11/21/2006

-

APPLIES TO

 Microsoft Foundation Class Library 4.2, when used with:  Microsoft Visual C++ 6.0 Enterprise Edition

 Microsoft Visual C++ 6.0 Professional Edition

 Microsoft Visual C++ 6.0 Standard Edition 

-

<div class="notice_section">

This article was previously published under Q196834

<div class="symptoms_section">

SYMPTOMS
When you use Microsoft Visual C++ 6.0 to create an Active Document Container, the toolbars associated with an Active Document Server that has lost focus may not hide correctly.

<div class="moreinformation_section">

Steps to Reproduce Behavior

 * 1) Create a new MFC MDI Application with Active Document Container support.
 * 2) Build and run the application.
 * 3) Insert a new Visio Standard 5.0 object into an MDI child window.
 * 4) Select New from the File menu to open another MDI child window.

RESULTS: Notice that the new MDI child window has focus and that the toolbars associated with Visio are not hidden. The menu does change, but the toolbars remain visible allowing the user to click on buttons that are not relevant for the currently active window.

Additional query words: docobject

Keywords: kbactivedocs kbcontainer kbprb kbtoolbar KB196834

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.