I'd like my application to be run as "fullscreen" much like a powerpoint presentation is ran. The title bar is gone and the menu bar is also gone.
I dont think it should be too complicated but I just can't find how to do it
I'd like my application to be run as "fullscreen" much like a powerpoint presentation is ran. The title bar is gone and the menu bar is also gone.
I dont think it should be too complicated but I just can't find how to do it
This should help: http://stackoverflow.com/questions/600735/fullscreen-application-wm6-c
If you want to do it right, including hiding the task bar, here's an article which shows a working approach: http://www.codeproject.com/KB/cs/FullScreenDotNetApp.aspx
Here is a great example showing how to do this.
It requires a couple of P/Invoke calls.
Try this (VB.NET syntax):
Me.MaximizeBox = False Me.MinimizeBox = False Me.TopMost = False Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None Me.WindowState = System.Windows.Forms.FormWindowState.Maximized
Make sure you take account of multi-monitor scenario. This code will make your form full-screen on the active monitor (where mouse cursor is).
this.FormBorderStyle = FormBorderStyle.None;
this.Bounds = Screen.FromPoint(MousePosition).Bounds;