共用方式為


IVideoWindow.MessageDrain

 
Microsoft DirectShow 9.0

IVideoWindow.MessageDrain

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The MessageDrain property sets or retrieves a window that receives mouse and keyboard messages from the video window.

Syntax

  objVideoWindow
  .MessageDrain As LONG_PTR

Parameters

This property takes no parameters.

Return Values

Returns a handle to the window that receives the messages.

Remarks

An application can set this property in order to receive mouse and keyboard events generated within the video window. The message drain window does not need to be a parent of the video window, so full-screen applications can use this property.

This property is read/write.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also