Skip to content

SwitchMDIMenu Method

Description

Switches MDI Menus at run time. Can also be used with SDI application menus.

Syntax

Public Sub SwitchMDIMenu( _
    ByVal Id As Long _
)

Parameters

  • Id: Id of the MDI menu to switch to.

Remarks

MDI menus are used when there are many different types of documents and menus in an application. For example, you can have many different types of documents - like an image editor, text editor, etc. MDI menus allow you to easily display a different set of MDI menus for each type of document.

SwitchMDIMenu is used to manually switch between MDI menus; this is particularly useful for SDI applications. Many MDI menus can be added and switched depending on the situation. Simply pass in the Id of the MDI menu to switch to.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.