DVD Player ActiveX Control

ReceivedFullScreenHWnd 

 


For some development tools, you must set the specific window to receive mouse and keyboard messages. e.g. vc++, c# 2005.

DVDPlayer1.ReceivedFullScreenHWnd[=Integer]


Parameter
Integer
Specifies a handle to the window.

Remark
This property is Read/Write.

Example

   

c#2005  Syntax

private void Form1_Load(object sender, EventArgs e)
{
axDVDPlayer1.ReceivedFullScreenHWnd = (int)this.Handle;
axDVDPlayer1.ClearFullScreenType = 0;
}

Then when you call axDVDPlayer1.ShowFullScreen(true) with full screen mode, the form will received keyboard, mouse event.

 private void Form1_KeyDown(object sender, KeyEventArgs e)
{

   if (e.KeyData == Keys.Space)
  {
      if (cboclearkey.SelectedIndex == 0)
         axDVDPlayer1.ShowFullScreen(false);
  }
}