Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Can I disable the tabbed MDI window ? Collapse All
Subject Author Date
Henry Tso Jan 11, 2007 - 5:52 AM

Dear Supporter,

I create a MDI API and enable tabbed MDI with "CExtTabMdiWhidbeyWnd" Class. Can’t I run time to add or remove the tabbed MDI effect ?

Thanks

Sergiy Lavrynenko Jan 11, 2007 - 6:07 AM

Dear Henry,

The ProfStudio sample application demonstrates how implement the on-the-fly switching between classic MDI and tabbed MDI interfaces. The MDI tab window is persistently exist in this sample application. It is visible in the tabbed mode and invisible in the classic mode. The implementation is based on overriding of the CExtTabWnd::OnTabWndSyncVisibility() virtual method. If you need to implement the tabbed MDI interface exactly like in Visual Studio .NET or Visual Studio 2005, then you also should hide the minimize/maximize-restore/close buttons for the active MDI document in the menu bar. This feature is also demonstated in the ProfStudio sample application.