GetMDIClient method


Available for MDIWindow objects.

Prototype

GetMDIClient Proto hWnd:HWND

Syntax

Invoke GetMDIClient, hWnd

Function

Gets the MDI client handle for an MDIWindow object.

Parameters

hWnd

Handle to the MDIWindow object.

Return value

Eax/Rax returns the handle to the MDI Client, or NULL.


REMARKS
: You can retrieve the MDI client handle if you need it. Anyway, for creating MDI child windows at run time, you must NEVER pass the handle to the MDI client as the parent window to the
Create method. Instead, you must ALWAYS pass the handle to the MDIWindow object.