This topic has not yet been rated - Rate this topic

WM_MDINEXT message

Applies to: desktop apps only

An application sends the WM_MDINEXT message to a multiple-document interface (MDI) client window to activate the next or previous child window.

#define WM_MDINEXT                      0x0224

Parameters

wParam

A handle to the MDI child window. The system activates the child window that is immediately before or after the specified child window, depending on the value of the lParam parameter. If the wParam parameter is NULL, the system activates the child window that is immediately before or after the currently active child window.

lParam

If this parameter is zero, the system activates the next MDI child window and places the child window identified by the wParam parameter behind all other child windows. If this parameter is nonzero, the system activates the previous child window, placing it in front of the child window identified by wParam.

Return value

Type: zero

The return value is always zero.

Remarks

If an MDI client window receives any message that changes the activation of its child windows while the active MDI child window is maximized, the system restores the active child window and maximizes the newly activated child window.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
WM_MDIACTIVATE
WM_MDIGETACTIVE
Conceptual
Multiple Document Interface

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Value
WM_MDINEXT = &H224