BCGControlBar Library for .NET
SetMaximizeMode Method (MenuBar)




if true, system menu buttons will be added to the popup menu, otherwise, removed.
Adds or removes from the MenuBar system menu buttons to manage the activated  MDI child form. This buttons are visible when the active MDI child form is maximized. Called by the framework when any active MDI child form in parent MDIContainer form is resized or changed.
Syntax
'Declaration
 
Public Overridable Sub SetMaximizeMode( _
   ByVal set As Boolean _
) 
'Usage
 
Dim instance As MenuBar
Dim set As Boolean
 
instance.SetMaximizeMode(set)
public virtual void SetMaximizeMode( 
   bool set
)
public: virtual void SetMaximizeMode( 
   bool set
) 
public:
virtual void SetMaximizeMode( 
   bool set
) 

Parameters

set
if true, system menu buttons will be added to the popup menu, otherwise, removed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MenuBar Class
MenuBar Members

Send Feedback