MdiGetActive, MdiActivate, MdiNext, MdiPrev Methods

Purpose

MdiActivate, MdiNext, and MdiPrev activate a MDI child window. MdiGetActive returns the current active child window.

Syntax

ChildForm.MdiActivate

MDIForm.MdiGetActive

MDIForm.MdiNext

MDIForm.MdiPrev

ChildForm:MdiChild Form
MDIForm:MdiParent Form

Description

MdiActivate is a method to be used with a MdiChild form. It activates the child window and brings it to the front. MdiGetActive returns the current active child window.

MdiNext and MdiPrev activate the next (Ctrl+F6) or previous child window. These methods are to be performed on the parent window.

Example

See MdiCascade example.

Remarks

The menu entries for the child windows have identifier values starting from 64000.

See Also

MdiCascade, Form, ParentW, ChildW, OpenW

{Created by Sjouke Hamstra; Last updated: 12/05/14 by James Gaite}