Hello, I’m not sure exactly when, but the tab bar has disapeared without a trace. The object is created successfully, but somehow it doesn’t synchronize itself to the newly created MDI child wnds. Like there are none. Recently I made changes to the document views and tried to implement full screen support. Maybe I messed up something. Can you tell me, please, where to search for the mistake?

I’ve commented all the stuff related to full screen support and still nothing. In our project there are 2 document templates and MDI tab control doesn’t show itself for none of them. With the Spy++ tool I’ve seen 4 ProfUIS-TabWindow’s - 2 for the dynamic bars and 2 which are not visible and with zero size. Also I set breakpoint in CExtTabWnd::ItemInsert() and it returns successfully and the DoPaint() too. Please, help, this is mystery for me.

1) Copy your project into a new directory. In the ideal case, copy it to some other computer with clean Visual Studio settings to avoid dependency on any other libraries.2) Remove everything in your project except the UI code. Leave main/child fame windows and document classes. Remove files of non-UI code, not only project items.3) Make your project compile-able and debug-able.

This MDI tabs will work correctly if you compile your project in Visual Studio 2005 or earlier version. The Visual Studio 2008 introduces a problem when the IDC_STATIC constant is used as a dialog identifier of non-re-dockable control bars like the status bar. If you replace the UINT(IDC_STATIC) with UINT(1) in the code above, the MDI tabs will work OK. We do not use IDC_STATIC in Prof-UIS anymore and a new __EXT_MFC_IDC_STATIC constant is now used instead.

Please, don’t worry, the delay was not important. I confirm - when I set UINT(1) and it works. But what about the other problem, which I’ve described in the e-mail - the disappearing content of one of the dynamic bars? This problem is more important for me.

What we can see is that you have three bars in your project. The Properties bar with a property grid control inside and the Log Panel bar with a read-only editor inside work OK. The Layers bar does not contain anything inside it regardless of whether it’s docked or floating. We found the following code in your project:

We suspect you have implemented some message handlers in the MDI child frame and/or MDI main frame windows without invoking the parent class handler methods which affect the behavior of MDI tabs. Please try to comment out parts of your full screen implementation code to find out which of them affect MDI tabs.