Resolved the FullScreen problem by hosting the video control in a fresh form which I resized to the size of the current screen, then handled the 'Escape' key press in the form, to toggle back to the normal size video. Here's an extract of the code.
Resolved the FullScreen problem by hosting the video control in a fresh form which I resized to the size of the current screen, then handled the 'Escape' key press in the form, to toggle back to the normal size video. Here's an extract of the code:- Members private Rectangle fullScreenRectangle; private bool fullScreen; private Form fullScreenForm; private Control fullScreenParent; Toggle FullScreen code /// /// Toggle Full Screen Mode /// public bool FullScreen { get { return this. FullScreen; } set { this.
FullScreen = value; if (this. FullScreen) { // If switch to full screen, save the current size of the control this. FullScreenRectangle = new Rectangle(this.
Location, this. Size); // Get the current screen resolution and set that to be the control's size Rectangle screenRect = Screen. GetBounds(this); // Create a new form on which to host the control whilst we go to full screen mode.This.
FullScreenForm = new Form(); this.fullScreenForm. Location = PointToScreen(new Point(0, 0)); this.fullScreenForm. Size = new Size(screenRect.
Width, screenRect. Height); this.fullScreenForm. BackColor = Color.
Black; this.fullScreenForm. ShowInTaskbar = false; this.fullScreenForm. ShowIcon = false; this.fullScreenForm.
FormBorderStyle = FormBorderStyle. None; this.fullScreenForm. KeyPreview = true; this.fullScreenForm.
PreviewKeyDown += new PreviewKeyDownEventHandler(fullScreenForm_PreviewKeyDown); this. FullScreenParent = this. Parent; this.fullScreenForm.Controls.
Add(this); this.fullScreenForm.Show(); this. WindowlessControl. SetVideoPosition(null, screenRect); } else { // Revert to the original control size this.
Location = PointToScreen(new Point(this. FullScreenRectangle. Left, this.
FullScreenRectangle. Top)); this. Size = new Size(this.
FullScreenRectangle. Width, this. FullScreenRectangle.
Height); this. WindowlessControl. SetVideoPosition(null, this.
FullScreenRectangle); if (this. FullScreenForm! = null) { this.fullScreenForm.Controls.
Remove(this); if (this. FullScreenParent! = null) this.
Parent = this. FullScreenParent; this.fullScreenForm. PreviewKeyDown -= new PreviewKeyDownEventHandler(fullScreenForm_PreviewKeyDown); this.fullScreenForm.Close(); } } } } void fullScreenForm_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { if (e.
KeyCode == Keys. Escape) { var viewer = this. Controls0 as ViewerControl; if (viewer!
= null) viewer. FullScreen = false; } }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.