MDI_Next

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > DIALOGS > MDI Dialogs >

MDI_Next

 

Description

 

Instruct the MDI client window to activate the next or previous child window

 

Syntax

 

MDI_Next(hMDIClient, hChildWindow, lHow)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hMDIClient

Number

No

Handle of the MDI Client window.

Usually this handle is the return value of MDI_CreateClient function

hChildWindow

Number

No

Handle of the MDI child window.

lHow

Number

No

Next or previous. See Remarks

 

Remarks

 

The system activates the child window that is immediately before or after the specified child window, depending on the value of the hChildWindow parameter.

If the hChildWindow parameter is NULL, the system activates the child window that is immediately before or after the currently active child window

 

If lHow is zero, the system activates the next MDI child window and places the child window identified by the hChildWindow parameter behind all other child windows.

If lHow is nonzero, the system activates the previous child window, placing it in front of the child window identified by hChildWindow.

 

Restrictions

 

See also

 

Examples