Launch in full screen mode without start menu
Possible duplicate:
Creating Winforms in full screen mode
I am creating a VB form that I want to run in full screen mode, for example when opening the start menu and taskbar. right now i am using
Me.Size = SystemInformation.PrimaryMonitorSize
Me.WindowState = 2
Me.Location = New Point(0, 0)
Me.TopMost = True
Me.FormBorderStyle = 0
but the start menu is still showing. I'm guessing this is because the window is just maximized and is not really in "full screen"
Is there a way that I can cover the launch menu in vb so that the program runs in full screen mode?
+3
source to share
1 answer
It looks like there are some side effects here. If you are just reordering the strings, this should work fine. In fact, setting WindowState to maximize or enable "always on top" does not seem to be required to achieve this effect.
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.Location = New Point(0, 0)
Me.Size = SystemInformation.PrimaryMonitorSize
'Me.WindowState = 2
'Me.TopMost = True
+9
source to share