BCGControlBar Library for .NET
SetRelatedMenuButtons Method (MenuBar)




A MDIChildFrom to relate buttons with.
A type of form to be related.
Relates the menu buttons with the specified MDIChild form.
Syntax
'Declaration
 
Public Sub SetRelatedMenuButtons( _
   ByVal form As Form, _
   ByVal formType As Type _
) 
'Usage
 
Dim instance As MenuBar
Dim form As Form
Dim formType As Type
 
instance.SetRelatedMenuButtons(form, formType)
public void SetRelatedMenuButtons( 
   Form form,
   Type formType
)
public: void SetRelatedMenuButtons( 
   Form* form,
   Type* formType
) 
public:
void SetRelatedMenuButtons( 
   Form^ form,
   Type^ formType
) 

Parameters

form
A MDIChildFrom to relate buttons with.
formType
A type of form to be related.
Remarks
This function called by framework to displayed menu items for active MDIChildWindow. When the MDIChildWindow is activated, items for this form will be displayed in the popup menu.
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