Hello,
I'm coding a program that shows pictures.
I have Settings-menu that has option to show pictures in fullscreen.
The fullscreen item of the menu has submenu "Fit on fullscreen"
If I don't have this submenu and I have
the above lines hide the menu completely.
But if I have the mentioned submenu and I select Settings->Fullscreen, the menu doesn't disappear.
My question is: How can I hide the complete menu when I have the mentioned submenu?
The "fullscreen mode" is set like this:
I use Visual Basic 2008 Express Edition.
I'm coding a program that shows pictures.
I have Settings-menu that has option to show pictures in fullscreen.
The fullscreen item of the menu has submenu "Fit on fullscreen"
If I don't have this submenu and I have
Code:
Me.MenuStrip1.Hide() Me.MenuStrip1.Enabled = False Me.MenuStrip1.IsDropDown.Equals(False)
But if I have the mentioned submenu and I select Settings->Fullscreen, the menu doesn't disappear.
My question is: How can I hide the complete menu when I have the mentioned submenu?
The "fullscreen mode" is set like this:
Code:
Me.WindowState = FormWindowState.Maximized Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Comment