hMdiClientWnd Property

Purpose

Returns the handle of the MDICLIENT window of the MDI parent window.

Syntax

h = Form.hMdiClientWnd

h:Handle

Description

Only valid when the window is a MDI parent window.

Example

ParentW 1

Dim hMdiClient As Handle

hMdiClient = Win_1.hMdiClientWnd

Debug.Show

Trace Hex(hMdiClient)

Do

Sleep

Until Me Is Nothing

See Also

Form, hWnd, MdiParent, MdiChild, ChildW, ParentW

{Created by Sjouke Hamstra; Last updated: 09/10/2014 by James Gaite}