Visual Basic Reference

WindowList Property

See Also    Example    Applies To

Returns or sets a value that determines whether a Menu object maintains a list of the current MDI child windows in an MDIForm object. Read only at run time.

Syntax

object**.WindowList**

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Settings

The WindowList property settings are:

Setting Description
True The Menu object maintains a list of open windows and displays a check mark next to the active window. Users can click a window name to activate that window.
False (Default) The Menu doesn't maintain a list of open windows.

Remarks

Many multiple-document interface (MDI) applications, such as Microsoft Excel and Microsoft Word for Windows, have a Window menu containing a list of open MDI child windows. This property enables you to add this functionality to your application.

Only one Menu object on a form can have its WindowList property set to True.

When you select the WindowList check box in the Menu Editor for a Menu object, the list of open MDI child windows for the menu you're creating is displayed.