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.
Subject |
Author |
Date |
|
Neville Franks
|
Jun 7, 2004 - 4:56 AM
|
Hi, I have an MDI application but I would like to hide the minimize, restore and maximize buttons which appear at the right end of the menu bar. Looking through the Prof-UIS code I found: CExtMenuControlBar::IsDisplayMdiDocumentButtons(). Will deriving a class from CExtMenuControlBar and overiding IsDisplayMdiDocumentButtons() to return false do what I want? If not is there another way to hide these buttons? Thanks, Neville, www.surfulater.com
|
|
Technical Support
|
Jun 7, 2004 - 8:28 AM
|
Dear Neville,
You are right: Just create your own class derived from the CExtMenuControlBar class and override the IsDisplayMdiDocumentButtons virtual method:bool CMyMenuBar::IsDisplayMdiDocumentButtons() const
{
return false; // default implementation returns true
}
|
|