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 » MdiTab like vs2005 Collapse All
Subject Author Date
Thierry Boone May 22, 2007 - 2:19 AM

Hi,

is there a way to get a MDI tab as in VS2005, ie without the minimize, maximize and close button by using directly a CView, or derived class ? Not deriving it from CEdit as in your ProfStudio sample.

Technical Support May 22, 2007 - 8:19 AM

If you want to remove the document buttons from the menu bar when MDI windows are maximized, you need to create a CExtMenuControlBar class and override the IsDisplayMdiDocumentButtons() virtual method in it:

bool CMyMenuBar::IsDisplayMdiDocumentButtons() const
{
    return false; // default implementation returns true
}