hWndDisplay Property (Multimedia MCI Control)

       

Specifies the output window for MCI MMMovie or Overlay devices that use a window to display output. This property is not available at design time.

Syntax

[form.]MMControl.hWndDisplay

Remarks

This property is a handle to the window that the MCI device uses for output. If the handle is 0, a default window (also known as the "stage window") is used.

To determine whether a device uses this property, look at the UsesWindows property settings.

In Visual Basic, to get a handle to a control, first use the SetFocus method to set the focus to the desired control. Then call the Windows GetFocus function.

To get a handle to a Visual Basic form, use the hWnd property for that form.

Data Type

Integer