Knowledge Base

PRB: MFC Active Document Container May Not Hide Toolbars

Article ID: 196834

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q196834

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.

MORE INFORMATION

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