|
c#2005 Syntax
private void Form1_Load(object sender, EventArgs e) { axMoviePlayer1.ReceivedFullScreenHWnd = (int)this.Handle; axMoviePlayer1.ClearFullScreenType = 0; }
Then when you call axMoviePlayer1.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.Escape) { if (cboclearkey.SelectedIndex == 0) axMoviePlayer1.ShowFullScreen(false); } }
|