Jump to content
Xtreme .Net Talk

ColdandUgly

Members
  • Posts

    3
  • Joined

  • Last visited

ColdandUgly's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Um, I just realized there was a (sub) forum for DirectX inside this forum. This post should be moved.
  2. Re: Sorry. Doesn't work means it doesn't leave fullscreen mode. I was unable to check mobjVideo.Fullscreen as Boolean So to determine if the video was playing at full screen I set a boolean variable. Private Sub cmdFull_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFull.Click Try mobjVideo.Fullscreen = True boolFull = True Catch ex As Exception MsgBox(ex.ToString) End Try Debug.Write(boolFull) End Sub The debug log shows false fasle false false false true <- set full screen false <- subsequently moved the mouse boolFull is declared in the General declarations as boolean. And looks like it holds its value. I am geissing the following 'false' is because I moved the mouse in full screen mode. But DX didn't return the window to normal view.
  3. Seems like this should be easy enough. Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove If boolFull = True Then Try mobjVideo.Fullscreen = False boolFull = False Catch ex As Exception MsgBox(ex.ToString) End Try End If End Sub But this doesn't work...
×
×
  • Create New...